From: Carl Eugen Hoyos Date: Wed, 25 Feb 2009 23:58:52 +0000 (+0000) Subject: Apply correct pix_fmts to WMV3_VDPAU and VC1_VDPAU. X-Git-Tag: v0.5~145 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a022c2fbfccd3be206cd582ac9d1a2e951b785e;p=platform%2Fupstream%2Flibav.git Apply correct pix_fmts to WMV3_VDPAU and VC1_VDPAU. Originally committed as revision 17594 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index 087efef..03257b8 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -4379,6 +4379,7 @@ AVCodec wmv3_vdpau_decoder = { CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU, NULL, .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 VDPAU"), + .pix_fmts = (enum PixelFormat[]){PIX_FMT_VDPAU_WMV3, PIX_FMT_NONE} }; #endif @@ -4395,5 +4396,6 @@ AVCodec vc1_vdpau_decoder = { CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU, NULL, .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1 VDPAU"), + .pix_fmts = (enum PixelFormat[]){PIX_FMT_VDPAU_VC1, PIX_FMT_NONE} }; #endif