summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2007-10-15 09:59:00 +0000
committerBastien Nocera <hadess@src.gnome.org>2007-10-15 09:59:00 +0000
commit5c0b3856bfc15604c5655acf309e551667974248 (patch)
tree498f63c34b130553b0362acb303bc1f610d26be4
parentbb26a9b5a1b4457e7e710083c6bdb8b9a8083745 (diff)
downloadtotem-5c0b3856bfc15604c5655acf309e551667974248.tar.gz
Fix replaying the stream when we were redirected (Closes: #486459)
2007-10-15 Bastien Nocera <hadess@hadess.net> * browser-plugin/totem-plugin-viewer.c: (totem_embedded_open_stream): Fix replaying the stream when we were redirected (Closes: #486459) svn path=/branches/gnome-2-20/; revision=4772
-rw-r--r--ChangeLog7
-rw-r--r--browser-plugin/totem-plugin-viewer.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e5c25b16e..33f1387e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-10-15 Bastien Nocera <hadess@hadess.net>
+
+ * browser-plugin/totem-plugin-viewer.c:
+ (totem_embedded_open_stream):
+ Fix replaying the stream when we were redirected
+ (Closes: #486459)
+
2007-10-10 Bastien Nocera <hadess@hadess.net>
* src/totem-menu.c: (totem_ui_manager_connect_proxy_callback):
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index eb380d2d4..150359289 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -952,6 +952,9 @@ totem_embedded_open_stream (TotemEmbedded *emb,
bacon_video_widget_close (emb->bvw);
totem_embedded_set_uri (emb, uri, base_uri, TRUE);
+ /* We can only have one item in the "playlist" when
+ * we open a browser stream */
+ emb->num_items = 1;
/* FIXME: consume any remaining input from stdin */