[vlc-commits] commit: msw: let zooming to exceed the display size (Erwan Tulou )

git at videolan.org git at videolan.org
Thu Jun 10 18:41:19 CEST 2010


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Thu Jun 10 18:19:48 2010 +0200| [c8b51e05d71834aefd11c5d89bf193132bd1305d] | committer: Erwan Tulou 

msw: let zooming to exceed the display size

There seems to be no more reason to force clipping to the display size
when zooming.  (tested successfully on WinXP with directx, gdi, opengl)

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

 modules/video_output/msw/common.c |    2 +-
 modules/video_output/msw/events.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c
index fc11a16..8904179 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -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)
diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 1945b12..e3e5457 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -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;
 }



More information about the vlc-commits mailing list