]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Make ElementFactory.make()'s name parameter default to null
authorMazhar Hussain <realmazharhussain@gmail.com>
Sun, 22 Oct 2023 12:45:04 +0000 (17:45 +0500)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 24 Oct 2023 07:06:06 +0000 (09:06 +0200)
vapi/gstreamer-1.0.vapi
vapi/metadata/Gst-1.0.metadata

index a78fb3d33d4e7b7c1bd11dfbfd8fcd468bbafe2f..571c27e38776e7a4e6d4c23b60d6dd6d491a7dc8 100644 (file)
@@ -1462,7 +1462,7 @@ namespace Gst {
                public static GLib.List<Gst.ElementFactory> 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, ...);
index 7c12fa4c7af198497a75f5ee727cfd3095126524..d026ad30d69a5a19df9f223fef059b43dbf5e4b2 100644 (file)
@@ -61,6 +61,7 @@ Element
 ElementFactory
   .create* skip=false floating
   .make* skip=false floating
+  .make.name default=null
 GhostPad
   .new floating
 Pad