Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Zanelli <aurelien.zanelli@parrot.com>2015-12-29 13:06:39 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-01-03 11:44:07 +0300
commit8e4c80c465b56299cb9d6d028bbd4bf63a501e56 (patch)
treed49960d8fc893e557739276cfb143a2e190188a5
parentcce6b9b6b02d21878d3ef15c6f5b00b99f4cc5ca (diff)
caps: add 'transfer full' annotation to caps returned by interserction functions
To make clear caller is responsible to unref them. https://bugzilla.gnome.org/show_bug.cgi?id=759948
-rw-r--r--gst/gstcaps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstcaps.c b/gst/gstcaps.c
index a8722da0c7..8fd1f23ea4 100644
--- a/gst/gstcaps.c
+++ b/gst/gstcaps.c
@@ -1574,7 +1574,7 @@ gst_caps_intersect_zig_zag (GstCaps * caps1, GstCaps * caps2)
* Unlike @gst_caps_intersect, the returned caps will be ordered in a similar
* fashion as @caps1.
*
- * Returns: the new #GstCaps
+ * Returns: (transfer full): the new #GstCaps
*/
static GstCaps *
gst_caps_intersect_first (GstCaps * caps1, GstCaps * caps2)
@@ -1645,7 +1645,7 @@ gst_caps_intersect_first (GstCaps * caps1, GstCaps * caps2)
* to both @caps1 and @caps2, the order is defined by the #GstCapsIntersectMode
* used.
*
- * Returns: the new #GstCaps
+ * Returns: (transfer full): the new #GstCaps
*/
GstCaps *
gst_caps_intersect_full (GstCaps * caps1, GstCaps * caps2,
@@ -1673,7 +1673,7 @@ gst_caps_intersect_full (GstCaps * caps1, GstCaps * caps2,
* Creates a new #GstCaps that contains all the formats that are common
* to both @caps1 and @caps2. Defaults to %GST_CAPS_INTERSECT_ZIG_ZAG mode.
*
- * Returns: the new #GstCaps
+ * Returns: (transfer full): the new #GstCaps
*/
GstCaps *
gst_caps_intersect (GstCaps * caps1, GstCaps * caps2)