From: Stefan Sauer Date: Sun, 15 Oct 2017 10:14:28 +0000 (+0200) Subject: aggregator: move the comment for the locks to the lock macros X-Git-Tag: 1.16.2~574^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=656a2616f2cd98adcbc7348f9e070ab3da7a4c60;p=platform%2Fupstream%2Fgstreamer.git aggregator: move the comment for the locks to the lock macros Looks like some code was inserted afterwards. --- diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 864654e..218d307 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -106,6 +106,10 @@ static void gst_aggregator_set_latency_property (GstAggregator * agg, gint64 latency); static gint64 gst_aggregator_get_latency_property (GstAggregator * agg); +static GstClockTime gst_aggregator_get_latency_unlocked (GstAggregator * self); + +GST_DEBUG_CATEGORY_STATIC (aggregator_debug); +#define GST_CAT_DEFAULT aggregator_debug /* Locking order, locks in this element must always be taken in this order * @@ -119,12 +123,6 @@ static gint64 gst_aggregator_get_latency_property (GstAggregator * agg); * standard sink pad object lock -> GST_OBJECT_LOCK(aggpad) */ - -static GstClockTime gst_aggregator_get_latency_unlocked (GstAggregator * self); - -GST_DEBUG_CATEGORY_STATIC (aggregator_debug); -#define GST_CAT_DEFAULT aggregator_debug - /* GstAggregatorPad definitions */ #define PAD_LOCK(pad) G_STMT_START { \ GST_TRACE_OBJECT (pad, "Taking PAD lock from thread %p", \