projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c1b213
)
composition: reset base time to 0 when needed.
author
Mathieu Duponchelle
<mathieu.duponchelle@opencreed.com>
Mon, 21 Jul 2014 14:57:14 +0000
(16:57 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Fri, 31 Oct 2014 10:58:11 +0000
(11:58 +0100)
gnl/gnlcomposition.c
patch
|
blob
|
history
diff --git
a/gnl/gnlcomposition.c
b/gnl/gnlcomposition.c
index
37acc70
..
c2f9881
100644
(file)
--- a/
gnl/gnlcomposition.c
+++ b/
gnl/gnlcomposition.c
@@
-496,6
+496,7
@@
_initialize_stack_func (GnlComposition * comp)
{
GnlCompositionPrivate *priv = comp->priv;
+ comp->priv->next_base_time = 0;
/* set ghostpad target */
if (!(update_pipeline (comp, COMP_REAL_START (comp),
COMP_UPDATE_STACK_INITIALIZE))) {
@@
-1992,6
+1993,7
@@
_commit_func (GnlComposition * comp)
GstClockTime curpos;
GnlCompositionPrivate *priv = comp->priv;
+ priv->next_base_time = 0;
GST_INFO_OBJECT (comp, "Commiting state");
/* Get current so that it represent the duration it was