]> git.sesse.net Git - vlc/commit
Fix invalid use of the PulseAudio stream from the context callback
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 28 Oct 2011 20:40:25 +0000 (23:40 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 28 Oct 2011 20:44:02 +0000 (23:44 +0300)
commitf2f5a1b707f28abf691fabb1e5c540b075209a15
tree068dd18e6b0a2bc9dca805f097fe52b0deec51bf
parent61cb650c1a47fb9c3cb7befaa5f93970d85871fa
Fix invalid use of the PulseAudio stream from the context callback

Make sure the context callback is registered only after the stream
is created, and unregistered before the stream is destroyed. This
should fix a potential assertion failure when stopping audio.
modules/audio_output/pulse.c