diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2011-04-05 17:59:57 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2011-04-05 17:59:57 +0100 |
commit | 874e7a63565260856636728a20ab83c0dbd7ca6b (patch) | |
tree | 1d292cf9fb995c5e59be06fbb085d6f577989e9a | |
parent | 41a2653cab0e93748e7268f57335ff5a7be51fd4 (diff) | |
download | clutter-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.c | 2 |
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; |