[FFmpeg-devel] [PATCH] Try to make new VDPAU usable by adding context to callback.
michaelni at gmx.at
Sun Aug 11 00:40:18 CEST 2013
On Sat, Aug 10, 2013 at 12:17:05AM +0200, Reimar Döffinger wrote:
> 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...
no complain/objections from me
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel