From: Laurent Aimar Date: Fri, 18 Jun 2010 20:09:13 +0000 (+0200) Subject: Enabled mpeg2 dxva2 decoding support. X-Git-Tag: 1.2.0-pre1~6120 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=beb86eee25d2d255563cf959c086879f1a4b08fd;p=vlc Enabled mpeg2 dxva2 decoding support. --- diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c index df96b3e454..1f2f751006 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 },