[vlc-commits] commit: Enabled mpeg2 dxva2 decoding support. (Laurent Aimar )

git at videolan.org git at videolan.org
Sun Jun 20 22:24:08 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Jun 18 22:09:13 2010 +0200| [472087d66d36af1de896a7c6d38b340491573002] | committer: Jean-Baptiste Kempf 

Enabled mpeg2 dxva2 decoding support.
(cherry picked from commit beb86eee25d2d255563cf959c086879f1a4b08fd)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=472087d66d36af1de896a7c6d38b340491573002
---

 modules/codec/avcodec/dxva2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index df96b3e..1f2f751 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -141,7 +141,7 @@ typedef struct {
 } dxva2_mode_t;
 /* XXX Prefered modes must come first */
 static const dxva2_mode_t dxva2_modes[] = {
-    { "DXVA2_ModeMPEG2_VLD",    &DXVA2_ModeMPEG2_VLD,     0 },
+    { "DXVA2_ModeMPEG2_VLD",    &DXVA2_ModeMPEG2_VLD,     CODEC_ID_MPEG2VIDEO },
     { "DXVA2_ModeMPEG2_MoComp", &DXVA2_ModeMPEG2_MoComp,  0 },
     { "DXVA2_ModeMPEG2_IDCT",   &DXVA2_ModeMPEG2_IDCT,    0 },
 



More information about the vlc-commits mailing list