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

git at videolan.org git at videolan.org
Fri Jun 18 22:09:57 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Jun 18 22:09:13 2010 +0200| [beb86eee25d2d255563cf959c086879f1a4b08fd] | committer: Laurent Aimar 

Enabled mpeg2 dxva2 decoding support.

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

 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