summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2011-04-05 17:59:57 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2011-04-05 17:59:57 +0100
commit874e7a63565260856636728a20ab83c0dbd7ca6b (patch)
tree1d292cf9fb995c5e59be06fbb085d6f577989e9a
parent41a2653cab0e93748e7268f57335ff5a7be51fd4 (diff)
downloadclutter-gst-874e7a63565260856636728a20ab83c0dbd7ca6b.tar.gz
video-texture: Set the state of the pipeline to READY on EOS
No need to go down to NULL, READY should be enough on EOS
-rw-r--r--clutter-gst/clutter-gst-video-texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter-gst/clutter-gst-video-texture.c b/clutter-gst/clutter-gst-video-texture.c
index cb08a32..b0d231b 100644
--- a/clutter-gst/clutter-gst-video-texture.c
+++ b/clutter-gst/clutter-gst-video-texture.c
@@ -1380,7 +1380,7 @@ bus_message_eos_cb (GstBus *bus,
CLUTTER_GST_NOTE (MEDIA, "EOS");
- gst_element_set_state(priv->pipeline, GST_STATE_NULL);
+ gst_element_set_state(priv->pipeline, GST_STATE_READY);
/* restore the idle material so we don't just display the last frame */
priv->is_idle = TRUE;