5 Jan
2009
5 Jan
'09
10:25 a.m.
On Mon, Jan 05, 2009 at 09:02:28AM +0000, Carl Eugen Hoyos wrote:
Ivan Kalvachev <ikalvachev <at> gmail.com> writes:
+ * Codec can export data for HW decoding (VDPAU). + */ +#define CODEC_CAP_HWACCEL_VDPAU 0x0080
May I request the removal of this new CAP flag, before something starts using it, and advertise the usage of the existing generic CAP_HWACCEL ?
That would lead to strange behaviour in vd_ffmpeg.c (look at line 256): It would act as if XVMC was asked by the user while it was actually VDPAU.
If you change that code, CODEC_CAP_HWACCEL_VDPAU could be removed.
This is backwards. Bad design decisions in MPlayer should not negatively influence FFmpeg. It's preferable to break MPlayer instead of hurting FFmpeg. Diego