projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
481476c
)
aggregator: fix locking
author
Tim-Philipp Müller
<tim@centricular.com>
Sun, 6 Jul 2014 15:17:06 +0000
(16:17 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Dec 2017 15:10:25 +0000
(15:10 +0000)
We would unlock a mutex we never locked on SEGMENT
events.
libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstaggregator.c
b/libs/gst/base/gstaggregator.c
index 0d80f3c75ebbcec5fdafe9c1c4892c247da55ffe..8a3a3bfb52bd0bf66b593ef7082d91cdda3a47e6 100644
(file)
--- a/
libs/gst/base/gstaggregator.c
+++ b/
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: