[vlc-commits] vout:win32: remove thumbnail bypassing

Steve Lhomme git at videolan.org
Mon Apr 1 12:03:46 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Mar 22 14:17:05 2019 +0100| [eb0d752801e542d2e1c281cc1e92a4fee4f982a0] | committer: Steve Lhomme

vout:win32: remove thumbnail bypassing

We don't need this hack anymore.

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

 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 5cff7de4fa..2cb205a049 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -228,16 +228,10 @@ void UpdateRects(vout_display_t *vd, vout_display_sys_win32_t *sys, bool is_forc
         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->changes |= DX_POSITION_CHANGE;
 



More information about the vlc-commits mailing list