aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-02-25 23:58:52 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-02-25 23:58:52 +0000
commit1a022c2fbfccd3be206cd582ac9d1a2e951b785e (patch)
tree51f5e680d269f7fdf69d13747ac5f7cfd4962626
parentd7dae42e70208b4a74c3136bb767eae65c11e25c (diff)
downloadffmpeg-1a022c2fbfccd3be206cd582ac9d1a2e951b785e.tar.gz
Apply correct pix_fmts to WMV3_VDPAU and VC1_VDPAU.
Originally committed as revision 17594 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/vc1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 087efef90c..03257b8f37 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