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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=708bf9d07c78d583d50e64faf59e29f80e67301b;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 a78fb3d33..571c27e38 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -1462,7 +1462,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