[vlc-commits] vout: set fullscreen mode window straight away

Rémi Denis-Courmont git at videolan.org
Thu Oct 16 19:26:10 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Oct 13 19:37:52 2014 +0300| [80099418383178d26030ee461026d325a76a0db1] | committer: Rémi Denis-Courmont

vout: set fullscreen mode window straight away

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

 src/video_output/video_output.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 0888fb3..b27fd38 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -177,6 +177,8 @@ static vout_thread_t *VoutCreate(vlc_object_t *object,
         vout_window_t *window = vout_display_window_New(vout, &wcfg);
         if (window != NULL)
         {
+            if (var_InheritBool(vout, "fullscreen"))
+                vout_window_SetFullScreen(window, true);
             if (var_InheritBool(vout, "video-wallpaper"))
                 vout_window_SetState(window, VOUT_WINDOW_STATE_BELOW);
             else if (var_InheritBool(vout, "video-on-top"))



More information about the vlc-commits mailing list