[MPlayer-dev-eng] [RFC][PATCH] Replace deprecated get_buffer, buffer_hints, and others
rxt at rtogni.it
Sat Aug 22 01:29:47 CEST 2015
this patch removes the use of deprecated get_buffer() function, and
the usage of deprecated fields in AVFrame.
Differently from the previous patch, this one keeps our dr1 structure;
if we then decide to drop it a lot of wrapper code can go out.
Since my code was getting too complex to account for all the corner
cases I decided to just copy the compatibility code from ffmpeg, and
adapt it to out use.
As usual the code can be further cleaned up, but this should be enough
to allow compilation and functionality when the deprecated symbols are
It's tested with some codecs on the default vo (gl) and with -vo x11;
H264 is tested also with vdpau acceleration.
Please test it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11840 bytes
Desc: not available
More information about the MPlayer-dev-eng