[vlc-devel] [PATCH 2/2] d3d11_deinterlace: actually select the BOB mode when falling back to BOB

Steve Lhomme robux4 at videolabs.io
Tue Aug 29 10:06:11 CEST 2017


---
 modules/video_output/win32/d3d11_deinterlace.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/win32/d3d11_deinterlace.c b/modules/video_output/win32/d3d11_deinterlace.c
index a41c69bead..694ce596c8 100644
--- a/modules/video_output/win32/d3d11_deinterlace.c
+++ b/modules/video_output/win32/d3d11_deinterlace.c
@@ -403,6 +403,7 @@ static int Open(vlc_object_t *obj)
          p_mode->i_mode != D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BOB )
     {
         msg_Dbg(filter, "mode %s not available, trying bob", psz_mode);
+        p_mode = GetFilterMode("bob");
         for (UINT type = 0; type < processorCaps.RateConversionCapsCount; ++type)
         {
             ID3D11VideoProcessorEnumerator_GetVideoProcessorRateConversionCaps(processorEnumerator, type, &rateCaps);
-- 
2.12.1



More information about the vlc-devel mailing list