[vlc-commits] d3d11va: fix processor input selection

Steve Lhomme git at videolan.org
Fri Oct 27 10:33:46 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Thu Oct 26 15:42:53 2017 +0200| [e95f24e143dc1cb067c609185b44c7ae93f9a6d3] | committer: Jean-Baptiste Kempf

d3d11va: fix processor input selection

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

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

 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]));



More information about the vlc-commits mailing list