[vlc-devel] [PATCH] coreaudio: fix deadlock on interruption

RĂ©mi Denis-Courmont remi at remlab.net
Tue Dec 12 15:38:53 CET 2017


Hi,

Pause means to retain buffers but hold playback. Flush means to discard buffers buy keep playing. So checking pause within Flush is almost certainly wrong; these things should be orthogonal.

Also mixing atomic ops and muteces smells very bad, TBH.
-- 
Remi Denis-Courmont


More information about the vlc-devel mailing list