projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bfe0b7
)
nlecomposition: Properly protect the children task
author
Thibault Saunier
<tsaunier@gnome.org>
Wed, 4 Feb 2015 14:21:55 +0000
(15:21 +0100)
committer
Thibault Saunier
<tsaunier@gnome.org>
Fri, 6 Feb 2015 09:06:05 +0000
(10:06 +0100)
ges/nle/nlecomposition.c
patch
|
blob
|
history
diff --git
a/ges/nle/nlecomposition.c
b/ges/nle/nlecomposition.c
index 19bf26c51be0f7fc9d263953f1ac57cccfcff24e..2e0eef986e1b512973ede2c650e087a50bf08924 100644
(file)
--- a/
ges/nle/nlecomposition.c
+++ b/
ges/nle/nlecomposition.c
@@
-2131,7
+2131,10
@@
_restart_task (NleComposition * comp)
comp->priv->waiting_for_buffer = FALSE;
comp->priv->updating_reason = COMP_UPDATE_STACK_NONE;
- gst_task_start (comp->task);
+ GST_OBJECT_LOCK (comp);
+ if (comp->task)
+ gst_task_start (comp->task);
+ GST_OBJECT_UNLOCK (comp);
}
static gboolean