]> git.sesse.net Git - vlc/commit
decoder: keep the lock around DecoderWaitDate() and aout_DecPlay()
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 23 Apr 2012 19:22:46 +0000 (22:22 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 3 May 2012 19:51:53 +0000 (22:51 +0300)
commit47428b060cf43f2ae753a90dc2b64d1cefe42408
tree96eccd85e1c330154177d7e3b6e3386849c374ba
parente7e30875a805b264b0981eb00e181b4e7199c43b
decoder: keep the lock around DecoderWaitDate() and aout_DecPlay()

DecoderWaitDate() needs to return with the lock held to fix #5825.
Anyway, there was not much point in releasing the lock after
DecoderWaitUnblock() and acquire it again without sleeping.

aout_DecPlay() needs the lock, since the aout is not reentrant.
src/input/decoder.c