[rhythmbox] xfade: don't resume paused streams when buffering finishes
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] xfade: don't resume paused streams when buffering finishes
- Date: Wed, 10 Sep 2014 12:20:00 +0000 (UTC)
commit 43d0b65792edee7ab0a6a0e5405301b36191d872
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Sep 10 22:15:54 2014 +1000
xfade: don't resume paused streams when buffering finishes
This makes pausable http streams work a lot better.
backends/gstreamer/rb-player-gst-xfade.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/backends/gstreamer/rb-player-gst-xfade.c b/backends/gstreamer/rb-player-gst-xfade.c
index d76565e..87574a5 100644
--- a/backends/gstreamer/rb-player-gst-xfade.c
+++ b/backends/gstreamer/rb-player-gst-xfade.c
@@ -1891,6 +1891,10 @@ rb_player_gst_xfade_bus_cb (GstBus *bus, GstMessage *message, RBPlayerGstXFade *
}
break;
+ case PAUSED:
+ rb_debug ("stream %s is buffered, leaving paused", stream->uri);
+ break;
+
default:
rb_debug ("stream %s is buffered, resuming", stream->uri);
link_and_unblock_stream (stream, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]