[vlc-commits] pulse: do not resync on suspend
Rémi Denis-Courmont
git at videolan.org
Thu Oct 18 21:58:48 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct 18 22:49:53 2012 +0300| [ac1d1616c9814e9bae1588c60bc256dc3e15508c] | 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac1d1616c9814e9bae1588c60bc256dc3e15508c
---
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 22a604c..9c5c619 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -450,7 +450,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