[vlc-devel] [PATCH] Added:Start playing a paused video when switching to fullscreen
picpetr at fel.cvut.cz
picpetr at fel.cvut.cz
Tue May 13 11:32:10 CEST 2014
---------- Původní zpráva ----------
Od: RémiDenis-Courmont <remi at remlab.net>
Komu: vlc-devel at videolan.org
Datum: 8. 5. 2014 15:02:46
Předmět: Re: [vlc-devel] [PATCH] Added:Start playing a paused video
when switching to fullscreen
> Le 2014-05-08 15:49, Petr Pic a écrit :
>> ticket 8533
>> 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
From elsewhere video output can be? So i should check if playlist is
null, isn't it?
Petr Pic
More information about the vlc-devel
mailing list