[vlc-devel] [V4 PATCH 0/2] lock aout/vout and fix pause/rate state inconsistency

Thomas Guillem thomas at gllm.fr
Thu Jul 5 12:02:06 CEST 2018


Same idea than the V3: Do rate/pause commands only from the DecoderThread to
avoid race between the output callback and the DecoderThread, but do it in a
less intrusive way: only one new variable that is locked by the Fifo lock.

Thomas Guillem (2):
  dec: lock aout/vout when read from DecoderThread
  dec: update pause/rate when the output is restarted

 src/input/decoder.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

-- 
2.18.0



More information about the vlc-devel mailing list