[vlc-devel] [PATCH 34/41] vout:win32: remove thumbnail bypassing

Steve Lhomme robux4 at ycbcr.xyz
Fri Mar 22 16:14:12 CET 2019


We don't need this hack anymore.
---
 modules/video_output/win32/common.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index 7e426786b5..40625c218d 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -234,16 +234,10 @@ static void UpdateRectsInternal(vout_display_t *vd, vout_display_sys_win32_t *sy
         rect_dest.right, rect_dest.bottom);
 #endif
 
-    /* the 2 following lines are to fix a bug when clicking on the desktop */
-    if (place.width == 0 || place.height == 0) {
-        goto exit;
-    }
-
 #if !VLC_WINSTORE_APP
     CommonChangeThumbnailClip(VLC_OBJECT(vd), sys, true);
 #endif
 
-exit:
     /* Signal the change in size/position */
     sys->area.changes |= DX_POSITION_CHANGE;
 
-- 
2.17.1



More information about the vlc-devel mailing list