As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739459 some changes are to be made for libav10 compatibility.
Migration documentation can be found at https://wiki.libav.org/Migration/10
Please review the attached patch that fixes build-time errors. It is not tested at run-time yet.
Tested with libav9 -- all good. Builds fine and works well.
We already use those constants for
ffmpeg v2 onwards in
dec_avcodec2, see here: xpra.codecs.dec_avcodec2.decoder. Unfortunately, last time I checked it built OK but did not work properly with
libav (runtime crashes).
This patch would break
dec_avcodec builds for many distributions, including from a quick grep:
Whilst only improving the situation on:
So I am closing this as invalid, and will apply the patch at build time only.
dec_avcodec is in maintenance mode, and new work is only added to
h265 support, etc..)
FYI: here are some better patches:
Note: for every release, I waste a few hours dealing with
libav patching. Tiresome.
That burden is multiplied by the number of projects that link against it. Mind boggling.
re-assigning to correct milestone
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/524