diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-06-12 18:44:46 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-06-12 18:52:49 +0200 |
commit | 2945e09171739d8519715956377cbd5e4fedd889 (patch) | |
tree | b93da2660bad800e8f9ec703b6bbca6a5783c6e2 | |
parent | d9ec7f59f32f35f0ef09faaf6b9f8452da0d7275 (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()
-rw-r--r-- | gnl/gnlcomposition.c | 2 |
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) |