summaryrefslogtreecommitdiff
path: root/clutter-gst
diff options
context:
space:
mode:
Diffstat (limited to 'clutter-gst')
-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);