[vlc-devel] [PATCH] d3d11va: fix processor input selection
Steve Lhomme
robux4 at gmail.com
Thu Oct 26 15:42:53 CEST 2017
---
modules/codec/avcodec/d3d11va.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c
index b0fd17ca24..6a3be0d66d 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -632,7 +632,7 @@ static int DxSetupOutput(vlc_va_t *va, const GUID *input, const video_format_t *
DxgiFormatToStr(processorInput[idx]));
#else
if ( !DeviceSupportsFormat(dx_sys->d3ddev, processorInput[idx],
- D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_OUTPUT) )
+ D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT) )
{
msg_Dbg(va, "Format %s needs a processor but is not available",
DxgiFormatToStr(processorInput[idx]));
--
2.12.1
More information about the vlc-devel
mailing list