projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c289f
)
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>
Sun, 6 Jul 2014 21:09:53 +0000
(22:09 +0100)
We would unlock a mutex we never locked on SEGMENT
events.
gst-libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/base/gstaggregator.c
b/gst-libs/gst/base/gstaggregator.c
index
0d80f3c
..
8a3a3bf
100644
(file)
--- 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: