From: Mazhar Hussain Date: Sun, 22 Oct 2023 12:45:04 +0000 (+0500) Subject: gstreamer-1.0: Make ElementFactory.make()'s name parameter default to null X-Git-Tag: 0.56.14~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67ea54a9cf1e5321d8a92b2230427bf1777ecd66;p=thirdparty%2Fvala.git gstreamer-1.0: Make ElementFactory.make()'s name parameter default to null --- diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index b4d4f02d5..884ebac8a 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -1444,7 +1444,7 @@ namespace Gst { public static GLib.List list_get_elements (Gst.ElementFactoryListType type, Gst.Rank minrank); public bool list_is_type (Gst.ElementFactoryListType type); [CCode (returns_floating_reference = true)] - public static Gst.Element? make (string factoryname, string? name); + public static Gst.Element? make (string factoryname, string? name = null); [CCode (returns_floating_reference = true)] [Version (since = "1.20")] public static Gst.Element? make_full (string factoryname, string? first, ...); diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata index 7c12fa4c7..d026ad30d 100644 --- a/vapi/metadata/Gst-1.0.metadata +++ b/vapi/metadata/Gst-1.0.metadata @@ -61,6 +61,7 @@ Element ElementFactory .create* skip=false floating .make* skip=false floating + .make.name default=null GhostPad .new floating Pad