[MPlayer-dev-eng] [RFC][PATCH] Replace deprecated get_buffer, buffer_hints, and others
Roberto Togni
rxt at rtogni.it
Sat Sep 5 18:26:46 CEST 2015
On Sat, 22 Aug 2015 01:29:47 +0200
Roberto Togni <rxt at rtogni.it> wrote:
> Hi,
> 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
> removed.
>
>
> 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.
>
Applied, it's needed with current FFmpeg git master.
Ciao,
Roberto
More information about the MPlayer-dev-eng
mailing list