]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.19.0+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 15 Feb 2021 12:33:27 +0000 (13:33 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 15 Feb 2021 12:33:27 +0000 (13:33 +0100)
vapi/gst-editing-services-1.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-audio-1.0.vapi
vapi/gstreamer-pbutils-1.0.vapi

index 04213da172cb85aa7d3e17a87a56efbc40595684..6875ba3d3f81ac8da9e3b6a8f9f2bd984bd6e539 100644 (file)
@@ -157,6 +157,8 @@ namespace GES {
                [CCode (has_construct_function = false)]
                protected CommandLineFormatter ();
                public static string get_help (int nargs, string commands);
+               [Version (since = "1.20")]
+               public static string get_timeline_uri (GES.Timeline timeline);
        }
        [CCode (cheader_filename = "ges/ges.h", type_id = "ges_container_get_type ()")]
        public abstract class Container : GES.TimelineElement, GES.Extractable, GES.MetaContainer {
index 8ff28b52dccbab0564c4da1b861b350ff31ccce4..786f2b5398c1fbb553c4d7520e205c0e785a8dcd 100644 (file)
@@ -786,7 +786,7 @@ namespace Gst {
                public BufferPool ();
                public virtual Gst.FlowReturn acquire_buffer (out Gst.Buffer buffer, Gst.BufferPoolAcquireParams? @params);
                [NoWrapper]
-               public virtual Gst.FlowReturn alloc_buffer (Gst.Buffer buffer, Gst.BufferPoolAcquireParams @params);
+               public virtual Gst.FlowReturn alloc_buffer (out Gst.Buffer buffer, Gst.BufferPoolAcquireParams? @params);
                public static void config_add_option (Gst.Structure config, string option);
                public static bool config_get_allocator (Gst.Structure config, out unowned Gst.Allocator? allocator, out unowned Gst.AllocationParams @params);
                public static unowned string? config_get_option (Gst.Structure config, uint index);
@@ -798,8 +798,10 @@ namespace Gst {
                [Version (since = "1.4")]
                public static bool config_validate_params (Gst.Structure config, Gst.Caps? caps, uint size, uint min_buffers, uint max_buffers);
                [NoWrapper]
+               [Version (since = "1.4")]
                public virtual void flush_start ();
                [NoWrapper]
+               [Version (since = "1.4")]
                public virtual void flush_stop ();
                [NoWrapper]
                public virtual void free_buffer (Gst.Buffer buffer);
@@ -3100,6 +3102,7 @@ namespace Gst {
                META,
                MEMORY,
                MERGE,
+               [Version (since = "1.2")]
                DEEP
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BUFFER_FLAG_", type_id = "gst_buffer_flags_get_type ()")]
index 49280d2eed669fc58932bf09dba25273e0334b1a..ae17105bcdf2d25e0a1e8dba7a286fe6107400a2 100644 (file)
@@ -189,7 +189,7 @@ namespace Gst {
                        [NoWrapper]
                        public virtual void flush (bool hard);
                        public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
-                       public Gst.Audio.Info get_audio_info ();
+                       public unowned Gst.Audio.Info get_audio_info ();
                        public int get_delay ();
                        public bool get_drainable ();
                        public int get_estimate_rate ();
@@ -274,7 +274,7 @@ namespace Gst {
                        [NoWrapper]
                        public virtual void flush ();
                        public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
-                       public Gst.Audio.Info get_audio_info ();
+                       public unowned Gst.Audio.Info get_audio_info ();
                        public bool get_drainable ();
                        public int get_frame_max ();
                        public int get_frame_samples_max ();
index 3374f928b153800cf9e1a7e6a8d61fc6d59c7eff..802cf4a1e2eaa8a20bd6563779765c8c62590652 100644 (file)
@@ -196,6 +196,8 @@ namespace Gst {
                        public static Gst.PbUtils.EncodingProfile from_discoverer (Gst.PbUtils.DiscovererInfo info);
                        public bool get_allow_dynamic_output ();
                        public unowned string get_description ();
+                       [Version (since = "1.20")]
+                       public Gst.Structure? get_element_properties ();
                        public unowned string get_file_extension ();
                        public Gst.Caps get_format ();
                        public Gst.Caps get_input_caps ();
@@ -211,6 +213,8 @@ namespace Gst {
                        public bool is_equal (Gst.PbUtils.EncodingProfile b);
                        public void set_allow_dynamic_output (bool allow_dynamic_output);
                        public void set_description (string? description);
+                       [Version (since = "1.20")]
+                       public void set_element_properties (owned Gst.Structure element_properties);
                        [Version (since = "1.6")]
                        public void set_enabled (bool enabled);
                        public void set_format (Gst.Caps format);
@@ -221,6 +225,8 @@ namespace Gst {
                        public void set_restriction (owned Gst.Caps? restriction);
                        [Version (since = "1.18")]
                        public void set_single_segment (bool single_segment);
+                       [Version (since = "1.20")]
+                       public Gst.Structure element_properties { owned get; owned set; }
                        [NoAccessorMethod]
                        public Gst.Caps restriction_caps { owned get; set; }
                }