5 Jan
2009
5 Jan
'09
10:53 a.m.
On 1/5/09, Carl Eugen Hoyos <cehoyos at ag.or.at> 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.
The code can be changed together with the rest of vdpau changes in mplayer, as hack you can just don't use CAP_HWACCEL.