[vlc-commits] PulseAudio: remove incorrect corking assertion

Rémi Denis-Courmont git at videolan.org
Wed May 16 16:33:26 CEST 2012


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 16 17:31:15 2012 +0300| [043528648f4479fc1c85930f91f0aca088b3c7fb] | committer: Rémi Denis-Courmont

PulseAudio: remove incorrect corking assertion

It can fail in rare circumstances such as context failures (in other
words, PulseAudio daemon crash or exit).
(cherry picked from commit 5a0c690fb160d2b343b10eda8c986b8b4c7c531c)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=043528648f4479fc1c85930f91f0aca088b3c7fb
---

 modules/audio_output/pulse.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index e1e330c..3a847f5 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -183,7 +183,6 @@ static void stream_resync(aout_instance_t *aout, pa_stream *s)
     aout_sys_t *sys = aout->output.p_sys;
     mtime_t delta;
 
-    assert (pa_stream_is_corked(s) > 0);
     assert (sys->pts != VLC_TS_INVALID);
 
     delta = vlc_pa_get_latency(aout, sys->context, s);



More information about the vlc-commits mailing list