[FFmpeg-devel] [PATCH] Try to make new VDPAU usable by adding context to callback.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Aug 10 00:17:05 CEST 2013


On Fri, Aug 09, 2013 at 10:48:01PM +0200, Reimar Döffinger wrote:
> Using VDPAU correctly means checking for preemption
> and possibly regenerating the context all the time.
> With the current API there is no context or other
> user-defined pointer and thus this in not possible
> unless using some hack like global variables.
> This introduces a new decode function that gets
> both the AVCodecContext and AVFrame in addition,
> in both the user can store additional opaque data.
> Unfortunately the HWAccel API has no way of providing
> API/ABI compatibility, so a currently disallowed
> state (render pointer being NULL) is used to extend it.
> An alloc function is added as well to ease future extensions.

This version is now working.
I'll try to make one with proper minor bump and APIchanges,
which I'd then consider final.
So about now would be a good time to complain about it...


More information about the ffmpeg-devel mailing list