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




commit 30a1d3a863a317b70b5e368f3796ac259e974a71
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Nov 23 11:06:36 2021 +0100

    gstreamer: Update from 1.19.3+ git master
    
    Fixes https://gitlab.gnome.org/GNOME/vala/issues/1255

 vapi/gstreamer-1.0.vapi      | 7 +++++++
 vapi/gstreamer-base-1.0.vapi | 6 +++---
 vapi/gstreamer-play-1.0.vapi | 2 +-
 3 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 457aab3a4..ce44cbbb7 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -54,6 +54,9 @@ namespace Gst {
                [Version (since = "1.18")]
                public static string log_get_line (Gst.DebugCategory category, Gst.DebugLevel level, string 
file, string function, int line, GLib.Object? object, Gst.DebugMessage message);
                [CCode (cheader_filename = "gst/gst.h")]
+               [Version (since = "1.20")]
+               public static void log_literal (Gst.DebugCategory category, Gst.DebugLevel level, string 
file, string function, int line, GLib.Object? object, string message_string);
+               [CCode (cheader_filename = "gst/gst.h")]
                public static void log_valist (Gst.DebugCategory category, Gst.DebugLevel level, string file, 
string function, int line, GLib.Object? object, string format, va_list args);
                [CCode (cheader_filename = "gst/gst.h")]
                public static void print_stack_trace ();
@@ -1395,6 +1398,8 @@ namespace Gst {
                public virtual void state_changed (Gst.State oldstate, Gst.State newstate, Gst.State pending);
                public static unowned string state_get_name (Gst.State state);
                public bool sync_state_with_parent ();
+               [Version (since = "1.20")]
+               public static void type_set_skip_documentation (GLib.Type type);
                public void unlink (Gst.Element dest);
                public void unlink_many (params Gst.Element[] elements);
                public void unlink_pads (string srcpadname, Gst.Element dest, string destpadname);
@@ -1423,6 +1428,8 @@ namespace Gst {
                [CCode (array_length = false, array_null_terminated = true)]
                public string[]? get_metadata_keys ();
                public uint get_num_pad_templates ();
+               [Version (since = "1.20")]
+               public bool get_skip_documentation ();
                public unowned GLib.List<Gst.StaticPadTemplate?> get_static_pad_templates ();
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[] get_uri_protocols ();
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index ac6a35a0a..dc085b193 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -726,9 +726,9 @@ namespace Gst {
                        [CCode (has_construct_function = false)]
                        protected Src ();
                        [NoWrapper]
-                       public virtual Gst.FlowReturn alloc (uint64 offset, uint size, Gst.Buffer buf);
+                       public virtual Gst.FlowReturn alloc (uint64 offset, uint size, out Gst.Buffer buf);
                        [NoWrapper]
-                       public virtual Gst.FlowReturn create (uint64 offset, uint size, out Gst.Buffer buf);
+                       public virtual Gst.FlowReturn create (uint64 offset, uint size, ref Gst.Buffer buf);
                        [NoWrapper]
                        public virtual bool decide_allocation (Gst.Query query);
                        [NoWrapper]
@@ -746,7 +746,7 @@ namespace Gst {
                        public virtual Gst.Caps get_caps (Gst.Caps? filter);
                        public bool get_do_timestamp ();
                        [NoWrapper]
-                       public virtual bool get_size (uint64 size);
+                       public virtual bool get_size (out uint64 size);
                        [NoWrapper]
                        public virtual void get_times (Gst.Buffer buffer, out Gst.ClockTime start, out 
Gst.ClockTime end);
                        public bool is_async ();
diff --git a/vapi/gstreamer-play-1.0.vapi b/vapi/gstreamer-play-1.0.vapi
index 028c4f9cd..a5018ee30 100644
--- a/vapi/gstreamer-play-1.0.vapi
+++ b/vapi/gstreamer-play-1.0.vapi
@@ -121,7 +121,7 @@ namespace Gst {
                        [NoAccessorMethod]
                        public Gst.Video.MultiviewFramePacking video_multiview_mode { get; set; }
                        [NoAccessorMethod]
-                       public Gst.Play.VideoRenderer video_renderer { construct; }
+                       public Gst.Play.VideoRenderer video_renderer { owned get; set; }
                        public double volume { get; set; }
                }
                [CCode (cheader_filename = "gst/play/play.h", type_id = "gst_play_signal_adapter_get_type 
()")]


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