[FFmpeg-devel] [PATCH]VDPAU patch for MPEG1/2 decoding, round 3

Carl Eugen Hoyos cehoyos
Fri Jan 9 10:04:03 CET 2009

Ivan Kalvachev <ikalvachev <at> gmail.com> writes:

> Stop using capabilities to detect vdpau. Set xvmc_acceleration to some
> value (4) and use it.

IMO this is a hack.

> You don't have to rename the variable and make it enum
> in order to use it.

I also think it is a hack not to use an enum in this situation.

> Make ff_er_frame_end() check the xvmc_acceleration with the vdpau value and
> quit early. It would save a lot of manual patching along the different codecs.

True. I will something like that.

Thank you for having a look, Carl Eugen

More information about the ffmpeg-devel mailing list