Commit de8d39ea authored by Erwan Tulou's avatar Erwan Tulou Committed by 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 c8b51e05)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 66e54e27
......@@ -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)
......
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment