From ec1b8c7eb66705867eb45c7c3e2cda62bef93e5d Mon Sep 17 00:00:00 2001 From: Rene Stadler Date: Sun, 23 Mar 2008 14:24:48 +0000 Subject: [PATCH] libs/gst/base/gstbasetransform.c: Fix confusing documentation. Original commit message from CVS: * libs/gst/base/gstbasetransform.c: (gst_base_transform_set_gap_aware): Fix confusing documentation. --- ChangeLog | 5 +++++ libs/gst/base/gstbasetransform.c | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index eb2885a5c5..dba8cdb026 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-23 Rene Stadler + + * libs/gst/base/gstbasetransform.c: + (gst_base_transform_set_gap_aware): Fix confusing documentation. + 2008-03-23 Sebastian Dröge * gst/gstregistrybinary.c: (gst_registry_binary_write): diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 1390558825..96fc37421b 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -1956,12 +1956,13 @@ gst_base_transform_is_qos_enabled (GstBaseTransform * trans) * @trans: a #GstBaseTransform * @gap_aware: New state * - * If @gap_aware is %FALSE (as it is by default) subclasses will never get - * output buffers with the %GST_BUFFER_FLAG_GAP flag set. + * If @gap_aware is %FALSE (the default), output buffers will have the + * %GST_BUFFER_FLAG_GAP flag unset. + * + * If set to %TRUE, the element must handle output buffers with this flag set + * correctly, i.e. it can assume that the buffer contains neutral data but must + * unset the flag if the output is no neutral data. * - * If set to %TRUE elements must handle output buffers with this flag set - * correctly, i.e. they can assume that the buffer contains neutral data - * but must unset the flag if the output is no neutral data. * Since: 0.10.16 * * MT safe.