mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 08:25:33 +00:00
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
This commit is contained in:
parent
cce6b9b6b0
commit
8e4c80c465
1 changed files with 3 additions and 3 deletions
|
@ -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
|
* Unlike @gst_caps_intersect, the returned caps will be ordered in a similar
|
||||||
* fashion as @caps1.
|
* fashion as @caps1.
|
||||||
*
|
*
|
||||||
* Returns: the new #GstCaps
|
* Returns: (transfer full): the new #GstCaps
|
||||||
*/
|
*/
|
||||||
static GstCaps *
|
static GstCaps *
|
||||||
gst_caps_intersect_first (GstCaps * caps1, GstCaps * caps2)
|
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
|
* to both @caps1 and @caps2, the order is defined by the #GstCapsIntersectMode
|
||||||
* used.
|
* used.
|
||||||
*
|
*
|
||||||
* Returns: the new #GstCaps
|
* Returns: (transfer full): the new #GstCaps
|
||||||
*/
|
*/
|
||||||
GstCaps *
|
GstCaps *
|
||||||
gst_caps_intersect_full (GstCaps * caps1, GstCaps * caps2,
|
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
|
* 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.
|
* to both @caps1 and @caps2. Defaults to %GST_CAPS_INTERSECT_ZIG_ZAG mode.
|
||||||
*
|
*
|
||||||
* Returns: the new #GstCaps
|
* Returns: (transfer full): the new #GstCaps
|
||||||
*/
|
*/
|
||||||
GstCaps *
|
GstCaps *
|
||||||
gst_caps_intersect (GstCaps * caps1, GstCaps * caps2)
|
gst_caps_intersect (GstCaps * caps1, GstCaps * caps2)
|
||||||
|
|
Loading…
Reference in a new issue