]> 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>
Sun, 12 Nov 2023 18:06:41 +0000 (19:06 +0100)
vapi/gstreamer-1.0.vapi
vapi/metadata/Gst-1.0.metadata

index b4d4f02d5be326c09eb46c568474e7655769626f..884ebac8afd0b534d61dbb8268f5c6b680b9b642 100644 (file)
@@ -1444,7 +1444,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