[vlc-devel] [PATCH 5/7] vout: reset pause state from ThreadReinit()
Rémi Denis-Courmont
remi at remlab.net
Sun Jan 15 14:38:09 CET 2017
Le mercredi 11 janvier 2017, 09:13:12 Thomas Guillem a écrit :
> ---
> 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 ad668ebb86..258291422d 100644
> --- a/src/video_output/video_output.c
> +++ b/src/video_output/video_output.c
> @@ -1536,6 +1536,8 @@ static int ThreadReinit(vout_thread_t *vout,
> vout_display_state_t state;
> memset(&state, 0, sizeof(state));
>
> + vout->p->pause.is_on = false;
> + vout->p->pause.date = VLC_TS_INVALID;
> ThreadStop(vout, &state);
>
> if (!state.cfg.is_fullscreen) {
Sounds like a bug in decoder code?
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list