[FFmpeg-devel] [PATCH] Allow selecting VDPAU, XvMC via get_format for MPEG-2

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 28 22:44:33 CEST 2011


On Mon, Mar 28, 2011 at 10:40:34PM +0200, Reimar Döffinger wrote:
> To avoid further special-casing, dummy AVHWAccels are added
> for VDPAU.
> It should be possible to move VDPAU completely to AVHWAccel later.

I think this is better than the previous one, even though it is
currently more code (well, mostly those two structs).
Tested to allow MPlayer to automatically switch to VDPAU if
-vo vdpau is used, no need for hacks with changing codec order
etc. (and -vf noformat can be used to disable hwaccel).


More information about the ffmpeg-devel mailing list