changeset 9047:91f9fe7bedd9 libavcodec

Apply correct pix_fmts to WMV3_VDPAU and VC1_VDPAU.
author cehoyos
date Wed, 25 Feb 2009 23:58:52 +0000
parents 2e0b55e4474f
children 058e47a00893
files vc1.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Wed Feb 25 23:24:34 2009 +0000
+++ b/vc1.c	Wed Feb 25 23:58:52 2009 +0000
@@ -4379,6 +4379,7 @@
     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 @@
     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