[vlc-commits] vout:win32: don't handle the ThumbnailClip when rendering without a HWND

Steve Lhomme git at videolan.org
Mon Apr 1 16:50:11 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Mar 25 13:08:40 2019 +0100| [f0362e2380d09a464f34dbe2606d0da2a9e8fd90] | committer: Steve Lhomme

vout:win32: don't handle the ThumbnailClip when rendering without a HWND

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

 modules/video_output/win32/common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index 269b471ae1..411b51258f 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -219,9 +219,9 @@ void UpdateRects(vout_display_t *vd, vout_display_sys_win32_t *sys, bool is_forc
         SetWindowPos(sys->hvideownd, 0,
             sys->place.x, sys->place.y, sys->place.width, sys->place.height,
             swpFlags);
-    }
 
-    CommonChangeThumbnailClip(VLC_OBJECT(vd), sys, true);
+        CommonChangeThumbnailClip(VLC_OBJECT(vd), sys, true);
+    }
 #endif
 }
 



More information about the vlc-commits mailing list