diff options
Diffstat (limited to 'gnl/gnlcomposition.c')
-rw-r--r-- | gnl/gnlcomposition.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c index 928da24..5d55ae6 100644 --- a/gnl/gnlcomposition.c +++ b/gnl/gnlcomposition.c @@ -1210,14 +1210,16 @@ gnl_composition_event_handler (GstPad * ghostpad, GstObject * parent, * event. In the case of seeks the pipeline will already be correctly * configured at this point*/ if (priv->waitingpads == 0) { + COMP_OBJECTS_UNLOCK (comp); GST_DEBUG_OBJECT (comp, "About to call gnl_event_pad_func()"); res = priv->gnl_event_pad_func (priv->ghostpad, parent, event); priv->reset_time = FALSE; GST_DEBUG_OBJECT (comp, "Done calling gnl_event_pad_func() %d", res); - } else + } else { + COMP_OBJECTS_UNLOCK (comp); gst_event_unref (event); + } - COMP_OBJECTS_UNLOCK (comp); } beach: |