videoaggregator: Do not to release VIDEO_AGGREGATOR_LOCK while setting format info
authorThibault Saunier <tsaunier@gnome.org>
Thu, 18 Sep 2014 15:14:22 +0000 (17:14 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 3 Oct 2014 11:18:05 +0000 (13:18 +0200)
commitd2f4d20d85ef87f9319a0d328c63e8ab9cf772ee
treef8b67318dcfcb709d31b0ca95066206ff4671c9d
parent6daef6a2f892e8a13aed6080a6c784406f982375
videoaggregator: Do not to release VIDEO_AGGREGATOR_LOCK while setting format info

We should be able to always keep the VIDEO_AGGREGATOR_LOCK while
negotiating caps, this patch introduce that change.

That also implies that we do not need the SETCAPS_LOCK anymore because
now VIDEO_AGGREGATOR_LOCK guarantees that setcaps is not called from
several threads and the gst_aggregator_set_caps method is now
protected.

https://bugzilla.gnome.org/show_bug.cgi?id=735042
gst-libs/gst/video/gstvideoaggregator.c