[FFmpeg-devel] [PATCH] Port VDPAU to AVHWAccel infrastructure

Reimar Döffinger Reimar.Doeffinger
Sat Jan 23 18:52:14 CET 2010

On Sat, Jan 23, 2010 at 05:37:00PM +0000, Joakim Plate wrote:
> > Before that is done: is this new pixfmt scheme actually used anywhere
> > and proven to work?
> > Because I only know the MPlayer patch and that uses the codec id to
> > generate the "old" scheme.
> > If we get rid of codec-specific pixfmts just so that every single
> > application actually using them has to add their own hacks to get back
> > to the old API again that would just be really idiotic.
> I've started using it for dxva, and it does seem to work there. One rather 
> annoying but thou..

Well, just what I was what that wherever there was a check for the pix_fmt
there would also be a check for the CODEC_ID, which I think is wrong,
to be able to use an AVFrame you shouldn't need to remember which codec
created the AVFrame, it should be usable on its own.
I'm not saying this isn't possible with those PIXFMT schemes, I just don't

More information about the ffmpeg-devel mailing list