summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2011-06-06 11:53:49 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2011-06-06 11:53:49 +0100
commit764bbc69ea3f1ea5f522e2a5ca067cf69509d44b (patch)
tree4bc32d8c48f756854e802c173bd0f1e456f1374d
parentccbf06ce65e1d0866187f231e6f0bd4b0c341c6c (diff)
downloadclutter-gst-764bbc69ea3f1ea5f522e2a5ca067cf69509d44b.tar.gz
Revert "video-texture: speed up switching to another uri"
This reverts commit b8f3f9d726ed6ca3f098d543542d8d33db612eb1. Nothing to bad, just breaks playback with recent GStreamer...
-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 b5e3a3b..6b83bb2 100644
--- a/clutter-gst/clutter-gst-video-texture.c
+++ b/clutter-gst/clutter-gst-video-texture.c
@@ -599,7 +599,7 @@ set_uri (ClutterGstVideoTexture *video_texture,
if (pending)
state = pending;
- gst_element_set_state (priv->pipeline, GST_STATE_READY);
+ gst_element_set_state (priv->pipeline, GST_STATE_NULL);
g_object_set (priv->pipeline, "uri", uri, NULL);