diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-04-20 13:58:06 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-04-20 13:58:06 +0200 |
commit | afb877c20bba04ba8eeb4da89d0781465b1ba713 (patch) | |
tree | 05adddb7c37cefa1e9e4d2eee6215971722fbaaa /vapi | |
parent | b934cefe75ee2b99b105039374ee1cf1185f6e33 (diff) | |
download | vala-afb877c20bba04ba8eeb4da89d0781465b1ba713.tar.gz |
gstreamer: Update from 1.21.0+ git main
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/gstreamer-1.0.vapi | 11 | ||||
-rw-r--r-- | vapi/gstreamer-rtp-1.0.vapi | 4 | ||||
-rw-r--r-- | vapi/gstreamer-video-1.0.vapi | 10 |
3 files changed, 17 insertions, 8 deletions
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index 56cf527c1..b4d4f02d5 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -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 (); diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi index fe52fbdd5..189602288 100644 --- a/vapi/gstreamer-rtp-1.0.vapi +++ b/vapi/gstreamer-rtp-1.0.vapi @@ -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] diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi index eb259752b..f66743c13 100644 --- a/vapi/gstreamer-video-1.0.vapi +++ b/vapi/gstreamer-video-1.0.vapi @@ -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); |