]> git.sesse.net Git - vlc/commitdiff
msw: let zooming to exceed the display size
authorErwan Tulou <erwan10@videolan.org>
Thu, 10 Jun 2010 16:19:48 +0000 (18:19 +0200)
committerErwan Tulou <erwan10@videolan.org>
Thu, 10 Jun 2010 16:37:28 +0000 (18:37 +0200)
There seems to be no more reason to force clipping to the display size
when zooming.  (tested successfully on WinXP with directx, gdi, opengl)

modules/video_output/msw/common.c
modules/video_output/msw/events.c

index fc11a167a3426ae50b6f62075c74c64ecc6a0faa..890417928c0a5e9e12b40445f2f079937832fe9e 100644 (file)
@@ -326,7 +326,7 @@ void UpdateRects(vout_display_t *vd,
     place_cfg.display.height = rect.bottom;
 
     vout_display_place_t place;
-    vout_display_PlacePicture(&place, source, &place_cfg, true);
+    vout_display_PlacePicture(&place, source, &place_cfg, false);
 
     EventThreadUpdateSourceAndPlace(sys->event, source, &place);
 #if defined(MODULE_NAME_IS_wingapi)
index 1945b129c00296b3880758a5e22d1dfa3c9612b0..e3e5457fe511d9f5eb2d109db12ca98ceb0ce842 100644 (file)
@@ -1027,7 +1027,7 @@ event_thread_t *EventThreadCreate( vout_display_t *vd)
         var_GetInteger(vd, "mouse-hide-timeout") * 1000;
     p_event->psz_title = NULL;
     p_event->source = vd->source;
-    vout_display_PlacePicture(&p_event->place, &vd->source, vd->cfg, true);
+    vout_display_PlacePicture(&p_event->place, &vd->source, vd->cfg, false);
 
     return p_event;
 }