]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.19.3+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 23 Nov 2021 10:06:36 +0000 (11:06 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 23 Nov 2021 10:07:45 +0000 (11:07 +0100)
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1255

vapi/gstreamer-1.0.vapi
vapi/gstreamer-base-1.0.vapi
vapi/gstreamer-play-1.0.vapi

index 457aab3a473b4c30dbbbae878eed46093aa65033..ce44cbbb7ad1d7e0d8b64f848f2de76b084728ac 100644 (file)
@@ -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 ();
index ac6a35a0a721479ef227efc2c09121706675f9a1..dc085b193898a42b0493aa716a7da02099531ba0 100644 (file)
@@ -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 ();
index 028c4f9cd42d2129330ad1755935b9b2a84230e4..a5018ee30b16771473ec8d6984fd4bd201e1ebb0 100644 (file)
@@ -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 ()")]