[vlc-devel] [PATCH] Added:Start playing a paused video when switching to fullscreen
Rémi Denis-Courmont
remi at remlab.net
Thu May 8 15:02:46 CEST 2014
Le 2014-05-08 15:49, Petr Pic a écrit :
> 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 );
What if the video output is not from the playlist?
> }
>
> /* */
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list