mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
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
This commit is contained in:
parent
83e1895dbf
commit
490444637f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue