vlc | branch: master | Steve Lhomme <[email protected]> | Tue Mar 26 13:14:04 2019 +0100| [7fa4204c2f0cf35be90cb2b3b1931c0a570f6943] | committer: Steve Lhomme
vout:win32: don't place the video before the first UpdateRects is called The mouse events can't be interpreted correctly until the actual video is placed and ready to be displayed. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7fa4204c2f0cf35be90cb2b3b1931c0a570f6943 --- modules/video_output/win32/common.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c index 6d2a395063..5025d892b3 100644 --- a/modules/video_output/win32/common.c +++ b/modules/video_output/win32/common.c @@ -105,10 +105,7 @@ int CommonInit(vlc_object_t *obj, vout_display_t *vd, display_win32_area_t *area if (!sys->event) return VLC_EGENERIC; - vout_display_place_t original_place; - vout_display_PlacePicture(&original_place, &vd->source, &area->vdcfg); - EventThreadUpdatePlace(sys->event, &original_place); - + /* */ event_cfg_t cfg; memset(&cfg, 0, sizeof(cfg)); #ifdef MODULE_NAME_IS_direct3d9 _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
