]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.21.0+ git main
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Apr 2022 11:58:06 +0000 (13:58 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Apr 2022 11:58:06 +0000 (13:58 +0200)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-rtp-1.0.vapi
vapi/gstreamer-video-1.0.vapi

index 56cf527c17923277538a3ad8b91084b011377195..b4d4f02d5be326c09eb46c568474e7655769626f 100644 (file)
@@ -2313,6 +2313,8 @@ namespace Gst {
                public void parse_scheduling (out Gst.SchedulingFlags flags, out int minsize, out int maxsize, out int align);
                public void parse_seeking (out Gst.Format format, out bool seekable, out int64 segment_start, out int64 segment_end);
                public void parse_segment (out double rate, out Gst.Format format, out int64 start_value, out int64 stop_value);
+               [Version (since = "1.22")]
+               public void parse_selectable (out bool selectable);
                public void parse_uri (out string uri);
                [Version (since = "1.2")]
                public void parse_uri_redirection (out string uri);
@@ -2332,6 +2334,9 @@ namespace Gst {
                public Query.seeking (Gst.Format format);
                [CCode (has_construct_function = false)]
                public Query.segment (Gst.Format format);
+               [CCode (has_construct_function = false)]
+               [Version (since = "1.22")]
+               public Query.selectable ();
                public void set_accept_caps_result (bool result);
                [Version (since = "1.16")]
                public void set_bitrate (uint nominal_bitrate);
@@ -2353,6 +2358,8 @@ namespace Gst {
                public void set_scheduling (Gst.SchedulingFlags flags, int minsize, int maxsize, int align);
                public void set_seeking (Gst.Format format, bool seekable, int64 segment_start, int64 segment_end);
                public void set_segment (double rate, Gst.Format format, int64 start_value, int64 stop_value);
+               [Version (since = "1.22")]
+               public void set_selectable (bool selectable);
                public void set_uri (string uri);
                [Version (since = "1.2")]
                public void set_uri_redirection (string uri);
@@ -3733,7 +3740,9 @@ namespace Gst {
                CAPS,
                DRAIN,
                CONTEXT,
-               BITRATE;
+               BITRATE,
+               [Version (since = "1.22")]
+               SELECTABLE;
                public Gst.QueryTypeFlags get_flags ();
                public unowned string get_name ();
                public GLib.Quark to_quark ();
index fe52fbdd5d19c7c62be9c330dfa67e9e84bb23f2..1896022883471875b792b30db10be4a5c509e3de 100644 (file)
@@ -342,8 +342,8 @@ namespace Gst {
                        public bool is_filled (uint size, Gst.ClockTime duration);
                        [Version (since = "1.16")]
                        public bool is_source_info_enabled ();
-                       public Gst.FlowReturn push (Gst.Buffer buffer);
-                       public Gst.FlowReturn push_list (Gst.BufferList list);
+                       public Gst.FlowReturn push (owned Gst.Buffer buffer);
+                       public Gst.FlowReturn push_list (owned Gst.BufferList list);
                        [NoWrapper]
                        public virtual bool query (Gst.Pad pad, Gst.Query query);
                        [NoWrapper]
index eb259752b049d47513ff7558ef1d5abb9478bda3..f66743c133740076ac20dc435267e1d885101dba 100644 (file)
@@ -621,13 +621,13 @@ namespace Gst {
                        public static Gst.Event event_new_touch_up (uint identifier, double x, double y, Gst.Video.NavigationModifierType state);
                        public static bool event_parse_command (Gst.Event event, out Gst.Video.NavigationCommand command);
                        public static bool event_parse_key_event (Gst.Event event, out unowned string key);
+                       [Version (since = "1.22")]
+                       public static bool event_parse_modifier_state (Gst.Event event, Gst.Video.NavigationModifierType state);
                        public static bool event_parse_mouse_button_event (Gst.Event event, out int button, out double x, out double y);
                        public static bool event_parse_mouse_move_event (Gst.Event event, out double x, out double y);
                        [Version (since = "1.18")]
                        public static bool event_parse_mouse_scroll_event (Gst.Event event, out double x, out double y, out double delta_x, out double delta_y);
                        [Version (since = "1.22")]
-                       public static bool event_parse_state (Gst.Event event, Gst.Video.NavigationModifierType state);
-                       [Version (since = "1.22")]
                        public static bool event_parse_touch_event (Gst.Event event, out uint identifier, out double x, out double y, out double pressure);
                        [Version (since = "1.22")]
                        public static bool event_parse_touch_up_event (Gst.Event event, out uint identifier, out double x, out double y);
@@ -2188,6 +2188,9 @@ namespace Gst {
                [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_key_event")]
                [Version (replacement = "Navigation.event_parse_key_event")]
                public static bool navigation_event_parse_key_event (Gst.Event event, out unowned string key);
+               [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_modifier_state")]
+               [Version (replacement = "Navigation.event_parse_modifier_state", since = "1.22")]
+               public static bool navigation_event_parse_modifier_state (Gst.Event event, Gst.Video.NavigationModifierType state);
                [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_mouse_button_event")]
                [Version (replacement = "Navigation.event_parse_mouse_button_event")]
                public static bool navigation_event_parse_mouse_button_event (Gst.Event event, out int button, out double x, out double y);
@@ -2197,9 +2200,6 @@ namespace Gst {
                [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_mouse_scroll_event")]
                [Version (replacement = "Navigation.event_parse_mouse_scroll_event", since = "1.18")]
                public static bool navigation_event_parse_mouse_scroll_event (Gst.Event event, out double x, out double y, out double delta_x, out double delta_y);
-               [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_state")]
-               [Version (replacement = "Navigation.event_parse_state", since = "1.22")]
-               public static bool navigation_event_parse_state (Gst.Event event, Gst.Video.NavigationModifierType state);
                [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_touch_event")]
                [Version (replacement = "Navigation.event_parse_touch_event", since = "1.22")]
                public static bool navigation_event_parse_touch_event (Gst.Event event, out uint identifier, out double x, out double y, out double pressure);