mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
aggregator: fix locking
We would unlock a mutex we never locked on SEGMENT events.
This commit is contained in:
parent
25c289f6c4
commit
551122c19a
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue