[vlc-commits] PulseAudio: remove incorrect corking assertion

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


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 16 17:31:15 2012 +0300| [5a0c690fb160d2b343b10eda8c986b8b4c7c531c] | 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).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a0c690fb160d2b343b10eda8c986b8b4c7c531c
---

 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 26183b4..bd296ee 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -254,7 +254,6 @@ static void stream_resync(audio_output_t *aout, pa_stream *s)
     aout_sys_t *sys = aout->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