[vlc-commits] pulse: do not resync on suspend

Rémi Denis-Courmont git at videolan.org
Sat Oct 20 11:33:46 CEST 2012


vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct 18 22:49:53 2012 +0300| [9701837bb454c682ba5697e665d79d6e51ae305d] | committer: Rémi Denis-Courmont

pulse: do not resync on suspend

Suspension should not occur during playback. However, it can happen
while the stream is starting. In that case, forgetting the
synchronization informations is more harmful than good.
(cherry picked from commit ac1d1616c9814e9bae1588c60bc256dc3e15508c)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=9701837bb454c682ba5697e665d79d6e51ae305d
---

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

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 634762c..12e1bcc 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -452,7 +452,7 @@ static void stream_suspended_cb(pa_stream *s, void *userdata)
     audio_output_t *aout = userdata;
 
     msg_Dbg(aout, "suspended");
-    stream_reset_sync(s, aout);
+    (void) s;
 }
 
 static void stream_underflow_cb(pa_stream *s, void *userdata)



More information about the vlc-commits mailing list