[vlc-devel] [PATCH] Added:Start playing a paused video when switching to fullscreen

Petr Pic picpetr at fel.cvut.cz
Thu May 8 14:49:21 CEST 2014


diff --git a/src/video_output/display.c b/src/video_output/display.c
index 4b85f0c..b0353b2 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -40,6 +40,8 @@
 
 #include "display.h"
 
+#include "vlc_playlist.h"
+
 #include "event.h"
 
 /* It must be present as long as a vout_display_t must be created using a dummy
@@ -916,6 +918,8 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures)
 
             /* */
             vout_SendEventFullscreen(osys->vout, osys->cfg.is_fullscreen);
+            playlist_t *playlist= libvlc_priv(vd->p_libvlc)->playlist;
+            playlist_Play( playlist );
         }
 
         /* */
-- 
1.8.3.2




More information about the vlc-devel mailing list