From: Olivier CrĂȘte Date: Mon, 1 Jun 2015 22:50:14 +0000 (-0400) Subject: aggregator: Document that the latency is in ns X-Git-Tag: 1.16.2~574^2~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a35f550b22a28ccd284a6e17b4daca215b28ab3;p=platform%2Fupstream%2Fgstreamer.git aggregator: Document that the latency is in ns --- diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index bd08db6..095be73 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -1591,7 +1591,7 @@ gst_aggregator_finalize (GObject * object) /* * gst_aggregator_set_latency_property: * @agg: a #GstAggregator - * @latency: the new latency value. + * @latency: the new latency value (in nanoseconds). * * Sets the new latency value to @latency. This value is used to limit the * amount of time a pad waits for data to appear before considering the pad @@ -1737,7 +1737,7 @@ gst_aggregator_class_init (GstAggregatorClass * klass) g_param_spec_int64 ("latency", "Buffer latency", "Additional latency in live mode to allow upstream " "to take longer to produce buffers for the current " - "position", 0, + "position (in nanoseconds)", 0, (G_MAXLONG == G_MAXINT64) ? G_MAXINT64 : (G_MAXLONG * GST_SECOND - 1), DEFAULT_LATENCY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));