summaryrefslogtreecommitdiff
path: root/gnl/gnlcomposition.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-06-12 18:44:46 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-06-12 18:52:49 +0200
commit2945e09171739d8519715956377cbd5e4fedd889 (patch)
treeb93da2660bad800e8f9ec703b6bbca6a5783c6e2 /gnl/gnlcomposition.c
parentd9ec7f59f32f35f0ef09faaf6b9f8452da0d7275 (diff)
gnlcomposition: *always* update pipeline when removing objects.
The object might currently have a streaming thread flowing out/through of it. We therefore need to properly stop that by forcing a refresh of the internal pipeline before calling the parent class remove_object()
Diffstat (limited to 'gnl/gnlcomposition.c')
-rw-r--r--gnl/gnlcomposition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c
index 1ca338a..b1a4975 100644
--- a/gnl/gnlcomposition.c
+++ b/gnl/gnlcomposition.c
@@ -2520,7 +2520,7 @@ gnl_composition_remove_object (GstBin * bin, GstElement * element)
/* If we removed within currently configured segment, or it was the default source, *
* update pipeline */
- if (G_LIKELY (comp->private->can_update && update_required))
+ if (G_LIKELY (update_required))
update_pipeline (comp, curpos, TRUE, TRUE, TRUE);
else {
if (!comp->private->can_update)