[vlc-devel] [PATCH 5/7] vout: reset pause state from ThreadReinit()

Thomas Guillem thomas at gllm.fr
Mon Jan 16 09:38:58 CET 2017



On Sun, Jan 15, 2017, at 14:38, Rémi Denis-Courmont wrote:
> 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?

See 1af6b527cbd

I think that the vout should be reinit paused or unpaused.
I'll check if there is a proper fix.

> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list