From e5d524b338d7075cd474034b6a02671580c94a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Mon, 26 Jun 2023 12:56:26 +0200 Subject: [PATCH] caps: Fix documentation Fix gst_caps_filter_and_map_in_place() documentation, aiming to gst_caps_maps_in_place() to express their difference. Part-of: --- girs/Gst-1.0.gir | 7 +++---- subprojects/gstreamer/gst/gstcaps.c | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/girs/Gst-1.0.gir b/girs/Gst-1.0.gir index a8fbb3c79c..bd42a177a0 100644 --- a/girs/Gst-1.0.gir +++ b/girs/Gst-1.0.gir @@ -6437,10 +6437,9 @@ contained in @caps. Calls the provided function once for each structure and caps feature in the #GstCaps. In contrast to gst_caps_foreach(), the function may modify the -structure and features. In contrast to gst_caps_filter_and_map_in_place(), -the structure and features are removed from the caps if %FALSE is returned -from the function. -The caps must be mutable. +structure and features. In contrast to gst_caps_map_in_place(), the structure +and features are removed from the caps if %FALSE is returned from the +function. The caps must be mutable. diff --git a/subprojects/gstreamer/gst/gstcaps.c b/subprojects/gstreamer/gst/gstcaps.c index cee6e820c4..373e2b45ef 100644 --- a/subprojects/gstreamer/gst/gstcaps.c +++ b/subprojects/gstreamer/gst/gstcaps.c @@ -2646,10 +2646,9 @@ gst_caps_map_in_place (GstCaps * caps, GstCapsMapFunc func, gpointer user_data) * * Calls the provided function once for each structure and caps feature in the * #GstCaps. In contrast to gst_caps_foreach(), the function may modify the - * structure and features. In contrast to gst_caps_filter_and_map_in_place(), - * the structure and features are removed from the caps if %FALSE is returned - * from the function. - * The caps must be mutable. + * structure and features. In contrast to gst_caps_map_in_place(), the structure + * and features are removed from the caps if %FALSE is returned from the + * function. The caps must be mutable. * * Since: 1.6 */