[vlc-devel] [V3 PATCH 3/3] dec: update pause/rate when the output is restarted

Rémi Denis-Courmont remi at remlab.net
Tue Jul 3 17:58:33 CEST 2018


Le tiistaina 3. heinäkuuta 2018, 14.22.30 EEST Thomas Guillem a écrit :
> On Tue, Jul 3, 2018, at 13:20, Rémi Denis-Courmont wrote:
> > There should not be a need to move the current state out of the
> > stack, AFAIU.>
> > 
> >  I like to keep thread variables on stack because it's then obvious
> >  what the access rule is (read/write for the thread) and if the
> >  variable becomes unused.
> 
> Then, how do you fix what this commit is trying to fix ? With a reset
> bool that reset pause/rate from the DecoderThread stack ?

Set the correct values when you get the xout ?

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list