vlc | branch: master | Steve Lhomme <[email protected]> | Tue Aug 29 10:06:11 
2017 +0200| [34e330d7edd868fc3702d2e6c0fb07aaa6567b08] | committer: 
Jean-Baptiste Kempf

d3d11_deinterlace: actually select the BOB mode when falling back to BOB

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to