[vala/staging] gstreamer: Update from 1.19.0+ git master



commit 00675cdb7623f40228d46484b94257393a0345b9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Feb 15 13:33:27 2021 +0100

    gstreamer: Update from 1.19.0+ git master

 vapi/gst-editing-services-1.0.vapi | 2 ++
 vapi/gstreamer-1.0.vapi            | 5 ++++-
 vapi/gstreamer-audio-1.0.vapi      | 4 ++--
 vapi/gstreamer-pbutils-1.0.vapi    | 6 ++++++
 4 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 04213da17..6875ba3d3 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -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 {
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 8ff28b52d..786f2b539 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -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 ()")]
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 49280d2ee..ae17105bc 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -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 ();
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index 3374f928b..802cf4a1e 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -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; }
                }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]