[rhythmbox] playbin2: buffer tags while waiting for playbin2 stream changes



commit fb80b9e1e1ce113f48b19ab9872aa1deacf6fcc1
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sun Mar 21 19:58:35 2010 +1000

    playbin2: buffer tags while waiting for playbin2 stream changes

 backends/gstreamer/rb-player-gst.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/gstreamer/rb-player-gst.c b/backends/gstreamer/rb-player-gst.c
index f64eb14..58f4d2d 100644
--- a/backends/gstreamer/rb-player-gst.c
+++ b/backends/gstreamer/rb-player-gst.c
@@ -339,7 +339,7 @@ bus_cb (GstBus *bus, GstMessage *message, RBPlayerGst *mp)
 		GstTagList *tags;
 		gst_message_parse_tag (message, &tags);
 
-		if (mp->priv->stream_change_pending) {
+		if (mp->priv->stream_change_pending || mp->priv->playbin_stream_changing) {
 			mp->priv->stream_tags = g_list_append (mp->priv->stream_tags, tags);
 		} else {
 			gst_tag_list_foreach (tags, (GstTagForeachFunc) process_tag, mp);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]