Commit 551122c1 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

aggregator: fix locking

We would unlock a mutex we never locked on SEGMENT
events.
parent 25c289f6
......@@ -637,9 +637,9 @@ _sink_event (GstAggregator * self, GstAggregatorPad * aggpad, GstEvent * event)
}
case GST_EVENT_SEGMENT:
{
PAD_LOCK_EVENT (aggpad);
gst_event_copy_segment (event, &aggpad->segment);
PAD_UNLOCK_EVENT (aggpad);
goto eat;
}
case GST_EVENT_STREAM_START:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment