From dccae68eafd162b73fe122708eb2412abc1ccb62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 21 Aug 2020 11:06:57 +0300 Subject: [PATCH] aggregator: Document that samples_selected() must only be called from the aggregate() function Part-of: --- libs/gst/base/gstaggregator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index d9cd3cb4b2..a3d9b2bb4c 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -3633,6 +3633,9 @@ gst_aggregator_update_segment (GstAggregator * self, const GstSegment * segment) * If gst_aggregator_update_segment() is used by the subclass, * it MUST be called before gst_aggregator_selected_samples(). * + * This function MUST only be called from the #GstAggregatorClass::aggregate() + * function. + * * Since: 1.18 */ void