diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2015-01-26 11:32:47 +0100 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2015-01-29 10:24:18 +0100 |
commit | ccf329d5276b319e2601453efbc1bd87768676c7 (patch) | |
tree | 3cfe76253d5a69377b3100e5c30c899510d9d1ff /gst-libs/gst/video | |
parent | 1a07467d5f30c5ce6c7f6e3e9aa39d66b2237084 (diff) | |
download | gstreamer-plugins-bad-ccf329d5276b319e2601453efbc1bd87768676c7.tar.gz |
aggregator: More fixes around locking when accessing protected private fields
In some more places we were accessing GstAggregator->segment
and GstAggregator->seqnum without holding the GST_OBJECT_LOCK
https://bugzilla.gnome.org/show_bug.cgi?id=742684
Diffstat (limited to 'gst-libs/gst/video')
-rw-r--r-- | gst-libs/gst/video/gstvideoaggregator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index 3ec08b974..2a8a48c4d 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -1615,8 +1615,8 @@ gst_videoaggregator_flush (GstAggregator * agg) GstVideoAggregator *vagg = GST_VIDEO_AGGREGATOR (agg); GST_INFO_OBJECT (agg, "Flushing"); - abs_rate = ABS (agg->segment.rate); GST_OBJECT_LOCK (vagg); + abs_rate = ABS (agg->segment.rate); for (l = GST_ELEMENT (vagg)->sinkpads; l; l = l->next) { GstVideoAggregatorPad *p = l->data; |