summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2021-12-08 12:30:32 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2021-12-15 16:32:28 +0100
commitb5db45783217489f4f4b1fc2344939873cc0152f (patch)
tree01ea83acfa410dd8565ad610df15a21b1763ec54 /vapi
parent19135db540936e9f278d60cb8249a04c677ecd9c (diff)
downloadvala-b5db45783217489f4f4b1fc2344939873cc0152f.tar.gz
gstreamer-1.0: Unskip the ElementFactory.make/create_full() symbols
Also add floating reference to all the new creation functions.
Diffstat (limited to 'vapi')
-rw-r--r--vapi/gstreamer-1.0.vapi18
-rw-r--r--vapi/metadata/Gst-1.0.metadata4
2 files changed, 16 insertions, 6 deletions
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index ce44cbbb7..9784b338d 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1418,10 +1418,15 @@ namespace Gst {
public bool can_src_any_caps (Gst.Caps caps);
[CCode (returns_floating_reference = true)]
public Gst.Element? create (string? name);
+ [CCode (returns_floating_reference = true)]
+ [Version (since = "1.20")]
+ public Gst.Element? create_full (string? first, ...);
+ [CCode (returns_floating_reference = true)]
[Version (since = "1.20")]
- public unowned Gst.Element? create_valist (string? first, va_list? properties);
+ public Gst.Element? create_valist (string? first, va_list? properties);
+ [CCode (returns_floating_reference = true)]
[Version (since = "1.20")]
- public unowned Gst.Element? create_with_properties (uint n, string? names, GLib.Value? values);
+ public Gst.Element? create_with_properties ([CCode (array_length_cname = "n", array_length_pos = 0.5, array_length_type = "guint")] string[]? names, [CCode (array_length_cname = "n", array_length_pos = 0.5, array_length_type = "guint")] GLib.Value[]? values);
public static Gst.ElementFactory? find (string name);
public GLib.Type get_element_type ();
public unowned string? get_metadata (string key);
@@ -1440,10 +1445,15 @@ namespace Gst {
public bool list_is_type (Gst.ElementFactoryListType type);
[CCode (returns_floating_reference = true)]
public static Gst.Element? make (string factoryname, string? name);
+ [CCode (returns_floating_reference = true)]
+ [Version (since = "1.20")]
+ public static Gst.Element? make_full (string factoryname, string? first, ...);
+ [CCode (returns_floating_reference = true)]
[Version (since = "1.20")]
- public static unowned Gst.Element? make_valist (string factoryname, string? first, va_list? properties);
+ public static Gst.Element? make_valist (string factoryname, string? first, va_list? properties);
+ [CCode (returns_floating_reference = true)]
[Version (since = "1.20")]
- public static unowned Gst.Element? make_with_properties (string factoryname, uint n, string? names, GLib.Value? values);
+ public static Gst.Element? make_with_properties (string factoryname, [CCode (array_length_cname = "n", array_length_pos = 1.5, array_length_type = "guint")] string[]? names, [CCode (array_length_cname = "n", array_length_pos = 1.5, array_length_type = "guint")] GLib.Value[]? values);
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_event_ref", type_id = "gst_event_get_type ()", unref_function = "gst_event_unref")]
[Compact]
diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata
index db4d53fdb..7c12fa4c7 100644
--- a/vapi/metadata/Gst-1.0.metadata
+++ b/vapi/metadata/Gst-1.0.metadata
@@ -59,8 +59,8 @@ BufferPool
Element
.add_pad.pad owned=false
ElementFactory
- .create floating
- .make floating
+ .create* skip=false floating
+ .make* skip=false floating
GhostPad
.new floating
Pad