summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@collabora.com>2013-08-24 22:15:15 -0400
committerThibault Saunier <thibault.saunier@collabora.com>2013-08-24 22:16:41 -0400
commit35ae011aa45e3378c77b063bc88e236706c024dd (patch)
treedbe0a5ab059c7460199476de2c76012b33822ff7
parentff8f94c41fcaead906d97c8b61f42e16366c5901 (diff)
composition: Validate stack right after it has been re computed
-rw-r--r--gnl/gnlcomposition.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c
index 376e483..928da24 100644
--- a/gnl/gnlcomposition.c
+++ b/gnl/gnlcomposition.c
@@ -2717,6 +2717,8 @@ update_pipeline (GnlComposition * comp, GstClockTime currenttime,
if (priv->current) {
GstEvent *event;
+ priv->stackvalid = TRUE;
+
/* 7.1. Create new seek event for newly configured timeline stack */
if (samestack && (startchanged || stopchanged))
event =
@@ -2775,7 +2777,6 @@ update_pipeline (GnlComposition * comp, GstClockTime currenttime,
priv->childseek = event;
ret = TRUE;
}
- priv->stackvalid = TRUE;
} else {
if ((!priv->objects_start) && priv->ghostpad) {
GST_DEBUG_OBJECT (comp, "composition is now empty, removing ghostpad");