[vlc-commits] commit: msw: let zooming to exceed the display size (Erwan Tulou )
git at videolan.org
git at videolan.org
Mon Jun 14 10:38:56 CEST 2010
vlc/vlc-1.1 | branch: master | Erwan Tulou <erwan10 at videolan.org> | Thu Jun 10 18:19:48 2010 +0200| [de8d39ea9124d83a742fb83731ace6a47de86602] | committer: Jean-Baptiste Kempf
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)
(cherry picked from commit c8b51e05d71834aefd11c5d89bf193132bd1305d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=de8d39ea9124d83a742fb83731ace6a47de86602
---
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 92c8b77..e479465 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -320,7 +320,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 4192d0f..b3d6718 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -1078,7 +1078,7 @@ event_thread_t *EventThreadCreate( vout_display_t *vd)
p_event->button_pressed = 0;
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);
_snprintf( p_event->class_main, sizeof(p_event->class_main)/sizeof(*p_event->class_main),
_T("VLC MSW %p"), p_event );
More information about the vlc-commits
mailing list