mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
nlecomposition: Properly protect the children task
This commit is contained in:
parent
1bfe0b7ef3
commit
f192ba3192
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue