diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2014-07-06 16:17:06 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-07-06 22:09:53 +0100 |
commit | 551122c19a673a75463ad08b0872af862b822970 (patch) | |
tree | 6ef775edc35f5b1b594976b58e1645ea5f30fe93 | |
parent | 25c289f6c4f6b822d7e242984fc9417a4a802b45 (diff) |
aggregator: fix locking
We would unlock a mutex we never locked on SEGMENT
events.
-rw-r--r-- | gst-libs/gst/base/gstaggregator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/base/gstaggregator.c b/gst-libs/gst/base/gstaggregator.c index 0d80f3c75e..8a3a3bfb52 100644 --- a/gst-libs/gst/base/gstaggregator.c +++ b/gst-libs/gst/base/gstaggregator.c @@ -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: |