Commit 0624ef67 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

DXVA2: add the same Intel workaround as in libavcodec

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 59945c72
......@@ -1007,6 +1007,10 @@ static int DxCreateVideoDecoder(vlc_va_t *va,
return VLC_EGENERIC;
}
sys->decoder = decoder;
if (IsEqualGUID(&sys->input, &DXVADDI_Intel_ModeH264_E))
sys->hw.workaround |= FF_DXVA2_WORKAROUND_INTEL_CLEARVIDEO;
msg_Dbg(va, "IDirectXVideoDecoderService_CreateVideoDecoder succeed");
return VLC_SUCCESS;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment