[vlc-commits] d3d11_deinterlace: actually select the BOB mode when falling back to BOB

Steve Lhomme git at videolan.org
Tue Aug 29 14:24:09 CEST 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | 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 <jb at videolan.org>

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



More information about the vlc-commits mailing list