summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author <philippe.kalaf@collabora.co.uk>2006-11-24 16:27:14 +0000
committer <philippe.kalaf@collabora.co.uk>2006-11-24 16:27:14 +0000
commitbea0345ac433a5c24e9efc7f0904b27a122ca170 (patch)
tree66fca15718f136d60b4ad4e00bc44e317d8eed35
parentbc3b42f5ddb70ef18716e5eb7610f8cc1df9f194 (diff)
downloadtelepathy-farstream-bea0345ac433a5c24e9efc7f0904b27a122ca170.tar.gz
NULL pipeline after called stop on farsight streams
20061124162714-2425b-cafefebc70683295fbe139cc45b89a0566a0c843.gz
-rw-r--r--src/tp-stream-engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tp-stream-engine.c b/src/tp-stream-engine.c
index 1456917..e60dd25 100644
--- a/src/tp-stream-engine.c
+++ b/src/tp-stream-engine.c
@@ -815,7 +815,6 @@ bus_async_handler (GstBus *bus,
error->message);
close_all_video_streams (engine, error->message);
g_debug ("%s: destroying video pipeline", G_STRFUNC);
- gst_element_set_state (priv->pipeline, GST_STATE_NULL);
for (i = priv->output_windows; i; i = i->next)
((WindowPair *) i->data)->removing = TRUE;
@@ -824,6 +823,7 @@ bus_async_handler (GstBus *bus,
((WindowPair *) i->data)->removing = TRUE;
_remove_defunct_sinks (engine);
+ gst_element_set_state (priv->pipeline, GST_STATE_NULL);
gst_object_unref (priv->pipeline);
g_debug ("%s: pipeline refcount = %d", G_STRFUNC,
GST_OBJECT_REFCOUNT_VALUE (priv->pipeline));