[vlc-devel] [PATCH] demux: adaptive: fix inverted logic and don't do wait in a loop

Rémi Denis-Courmont remi at remlab.net
Thu Jul 27 06:43:34 CEST 2017


Le torstaina 27. heinäkuuta 2017, 9.46.23 EEST Zhao Zhili a écrit :
> The logic of the original code is like this, but it should wakeup
> immediately in case
> of setBufferingRunState(true). For example, it should start bufferize after
> SET_TIME/SET_POSITION.

I don´t know about that, but your patch is incorrect either way as it fails to 
account for spurious wake-ups.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list