[vlc-commits] vout: do not send dummy windowed event
Rémi Denis-Courmont
git at videolan.org
Tue Dec 20 00:16:19 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 20 00:58:36 2016 +0200| [1f198be23b534eb8db0c52af0dfdc9b9d7148696] | committer: Rémi Denis-Courmont
vout: do not send dummy windowed event
If the vout implements neither fullscreen nor resize, this event has no
effects.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f198be23b534eb8db0c52af0dfdc9b9d7148696
---
modules/video_output/caca.c | 1 -
modules/video_output/decklink.cpp | 1 -
modules/video_output/yuv.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/modules/video_output/caca.c b/modules/video_output/caca.c
index 22d5d95..b9d0cf8 100644
--- a/modules/video_output/caca.c
+++ b/modules/video_output/caca.c
@@ -196,7 +196,6 @@ static int Open(vlc_object_t *object)
vd->manage = Manage;
/* Fix initial state */
- vout_display_SendEventFullscreen(vd, false);
Refresh(vd);
return VLC_SUCCESS;
diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index 17fff71..35cb1ad 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -1073,7 +1073,6 @@ static int OpenVideo(vlc_object_t *p_this)
vd->display = DisplayVideo;
vd->control = ControlVideo;
vd->manage = NULL;
- vout_display_SendEventFullscreen(vd, false);
return VLC_SUCCESS;
}
diff --git a/modules/video_output/yuv.c b/modules/video_output/yuv.c
index fea4547..1fcc9e9 100644
--- a/modules/video_output/yuv.c
+++ b/modules/video_output/yuv.c
@@ -166,7 +166,6 @@ static int Open(vlc_object_t *object)
vd->control = Control;
vd->manage = NULL;
- vout_display_SendEventFullscreen(vd, false);
vout_display_DeleteWindow(vd, NULL);
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list