]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.17.0+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 15 Jun 2019 18:09:43 +0000 (20:09 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 15 Jun 2019 18:10:15 +0000 (20:10 +0200)
vapi/gst-editing-services-1.0.vapi
vapi/gstreamer-rtp-1.0.vapi
vapi/gstreamer-rtsp-server-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/gstreamer-webrtc-1.0.vapi

index b09769082ed94ff6a6246a3350a9da98788fed03..e91e86e22175b6dc7d83b5292a95b1d000cf5ce7 100644 (file)
@@ -477,7 +477,7 @@ namespace GES {
                public GLib.ParamSpec[] list_children_properties ();
                public virtual bool lookup_child (string prop_name, out GLib.Object child, out GLib.ParamSpec pspec);
                [Version (since = "1.6.0")]
-               public unowned GES.TimelineElement paste (Gst.ClockTime paste_position);
+               public GES.TimelineElement paste (Gst.ClockTime paste_position);
                public bool remove_child_property (GLib.ParamSpec pspec);
                public virtual bool ripple (uint64 start);
                public virtual bool ripple_end (uint64 end);
@@ -1051,14 +1051,6 @@ namespace GES {
        public const int PADDING_LARGE;
        [CCode (cheader_filename = "ges/ges.h", cname = "GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY")]
        public const uint32 TIMELINE_ELEMENT_NO_LAYER_PRIORITY;
-       [CCode (cheader_filename = "ges/ges.h", cname = "GES_VERSION_MAJOR")]
-       public const int VERSION_MAJOR;
-       [CCode (cheader_filename = "ges/ges.h", cname = "GES_VERSION_MICRO")]
-       public const int VERSION_MICRO;
-       [CCode (cheader_filename = "ges/ges.h", cname = "GES_VERSION_MINOR")]
-       public const int VERSION_MINOR;
-       [CCode (cheader_filename = "ges/ges.h", cname = "GES_VERSION_NANO")]
-       public const int VERSION_NANO;
        [CCode (cheader_filename = "ges/ges.h")]
        public static bool add_missing_uri_relocation_uri (string uri, bool recurse);
        [CCode (cheader_filename = "ges/ges.h")]
index e0d7d96d405b74e3fc7dfb2f2b093cf0efc7bb58..ddf2c3d01c10cccd55a8af0ca01c915f4ac4b16d 100644 (file)
@@ -50,6 +50,9 @@ namespace Gst {
                        [Version (since = "1.16")]
                        public void set_source_info_enabled (bool enable);
                        [NoAccessorMethod]
+                       [Version (since = "1.18")]
+                       public int max_reorder { get; set; }
+                       [NoAccessorMethod]
                        [Version (since = "1.16")]
                        public bool source_info { get; set; }
                        [NoAccessorMethod]
index 6812086ad7327df43c06136483ec0fb597ec5ed5..f0a55ca3cc8c8ba335802d294095bd977f1b48db 100644 (file)
@@ -90,6 +90,10 @@ namespace Gst {
                public class Client : GLib.Object {
                        [CCode (has_construct_function = false)]
                        public Client ();
+                       [NoWrapper]
+                       public virtual Gst.RTSP.StatusCode adjust_play_mode (Gst.RTSPServer.Context context, Gst.RTSP.TimeRange range, Gst.SeekFlags flags, double rate, Gst.ClockTime trickmode_interval, bool enable_rate_control);
+                       [NoWrapper]
+                       public virtual Gst.RTSP.StatusCode adjust_play_response (Gst.RTSPServer.Context context);
                        public uint attach (GLib.MainContext? context);
                        [Version (since = "1.4")]
                        public void close ();
@@ -105,6 +109,8 @@ namespace Gst {
                        public uint get_content_length_limit ();
                        public Gst.RTSPServer.MountPoints? get_mount_points ();
                        public Gst.RTSPServer.SessionPool? get_session_pool ();
+                       [Version (since = "1.18")]
+                       public unowned Gst.RTSPServer.StreamTransport? get_stream_transport (uint8 channel);
                        public Gst.RTSPServer.ThreadPool? get_thread_pool ();
                        public Gst.RTSP.Result handle_message (Gst.RTSP.Message message);
                        [NoWrapper]
@@ -202,6 +208,10 @@ namespace Gst {
                        [Version (since = "1.8")]
                        public Gst.RTSPServer.PublishClockMode get_publish_clock_mode ();
                        public string? get_range_string (bool play, Gst.RTSP.RangeUnit unit);
+                       [Version (since = "1.18")]
+                       public bool get_rate_control ();
+                       [Version (since = "1.18")]
+                       public bool get_rates (double rate, double applied_rate);
                        public Gst.ClockTime get_retransmission_time ();
                        public Gst.RTSPServer.MediaStatus get_status ();
                        public unowned Gst.RTSPServer.Stream? get_stream (uint idx);
@@ -214,6 +224,8 @@ namespace Gst {
                        [Version (since = "1.16")]
                        public bool is_bind_mcast_address ();
                        public bool is_eos_shutdown ();
+                       [Version (since = "1.18")]
+                       public bool is_receive_only ();
                        public bool is_reusable ();
                        public bool is_shared ();
                        public bool is_stop_on_disconnect ();
@@ -225,8 +237,9 @@ namespace Gst {
                        [NoWrapper]
                        public virtual bool query_stop (int64 stop);
                        public bool seek (Gst.RTSP.TimeRange range);
-                       [Version (since = "1.14")]
                        public bool seek_full (Gst.RTSP.TimeRange range, Gst.SeekFlags flags);
+                       [Version (since = "1.18")]
+                       public bool seek_trickmode (Gst.RTSP.TimeRange range, Gst.SeekFlags flags, double rate, Gst.ClockTime trickmode_interval);
                        [Version (since = "1.14")]
                        public Gst.ClockTimeDiff seekable ();
                        public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
@@ -247,6 +260,8 @@ namespace Gst {
                        public void set_protocols (Gst.RTSP.LowerTrans protocols);
                        [Version (since = "1.8")]
                        public void set_publish_clock_mode (Gst.RTSPServer.PublishClockMode mode);
+                       [Version (since = "1.18")]
+                       public void set_rate_control (bool enabled);
                        public void set_retransmission_time (Gst.ClockTime time);
                        public void set_reusable (bool reusable);
                        public void set_shared (bool shared);
@@ -405,8 +420,9 @@ namespace Gst {
                [GIR (name = "RTSPOnvifClient")]
                [Version (since = "1.14")]
                public class OnvifClient : Gst.RTSPServer.Client {
-                       [CCode (has_construct_function = false)]
-                       protected OnvifClient ();
+                       [CCode (has_construct_function = false, type = "GstRTSPClient*")]
+                       [Version (since = "1.18")]
+                       public OnvifClient ();
                }
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPOnvifMedia", lower_case_cprefix = "gst_rtsp_onvif_media_", type_id = "gst_rtsp_onvif_media_get_type ()")]
                [GIR (name = "RTSPOnvifMedia")]
@@ -427,9 +443,13 @@ namespace Gst {
                        public uint get_backchannel_bandwidth ();
                        public string get_backchannel_launch ();
                        public virtual bool has_backchannel_support ();
+                       [Version (since = "1.18")]
+                       public bool has_replay_support ();
                        public static bool requires_backchannel (Gst.RTSPServer.MediaFactory factory, Gst.RTSPServer.Context ctx);
                        public void set_backchannel_bandwidth (uint bandwidth);
                        public void set_backchannel_launch (string launch);
+                       [Version (since = "1.18")]
+                       public void set_replay_support (bool has_replay_support);
                }
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPOnvifServer", lower_case_cprefix = "gst_rtsp_onvif_server_", type_id = "gst_rtsp_onvif_server_get_type ()")]
                [GIR (name = "RTSPOnvifServer")]
@@ -599,6 +619,10 @@ namespace Gst {
                        public uint get_pt ();
                        [Version (since = "1.8")]
                        public Gst.RTSPServer.PublishClockMode get_publish_clock_mode ();
+                       [Version (since = "1.18")]
+                       public bool get_rate_control ();
+                       [Version (since = "1.18")]
+                       public bool get_rates (double? rate, double? applied_rate);
                        public uint get_retransmission_pt ();
                        public Gst.ClockTime get_retransmission_time ();
                        [Version (since = "1.14")]
@@ -668,6 +692,8 @@ namespace Gst {
                        public void set_pt_map (uint pt, Gst.Caps caps);
                        [Version (since = "1.8")]
                        public void set_publish_clock_mode (Gst.RTSPServer.PublishClockMode mode);
+                       [Version (since = "1.18")]
+                       public void set_rate_control (bool enabled);
                        public void set_retransmission_pt (uint rtx_pt);
                        public void set_retransmission_time (Gst.ClockTime time);
                        public void set_seqnum_offset (uint16 seqnum);
@@ -890,6 +916,8 @@ namespace Gst {
                public delegate Gst.RTSPServer.FilterResult StreamTransportFilterFunc (Gst.RTSPServer.Stream stream, Gst.RTSPServer.StreamTransport trans);
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GST_RTSP_ONVIF_BACKCHANNEL_REQUIREMENT")]
                public const string _ONVIF_BACKCHANNEL_REQUIREMENT;
+               [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GST_RTSP_ONVIF_REPLAY_REQUIREMENT")]
+               public const string _ONVIF_REPLAY_REQUIREMENT;
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_context_get_type")]
                public static GLib.Type context_get_type ();
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "gst_rtsp_params_get")]
index fb7669e2e74bf09481257a0a996d05ed037dfe12..7fd7494600b9ca21530e2bcf478d586bd924a2c4 100644 (file)
@@ -583,7 +583,7 @@ namespace Gst {
                        public Gst.Meta meta;
                        [CCode (array_length = false)]
                        public weak float matrix[16];
-                       public void apply_matrix (float matrix);
+                       public void apply_matrix ([CCode (array_length = false)] float matrix[16]);
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
                [GIR (name = "VideoAlignment")]
index 7583d184261a6084b260e3efcc24c853d24b9b59..ea8fbb4ccc6383f4c10748d9e19fd0bb4700eee1 100644 (file)
@@ -86,6 +86,7 @@ namespace Gst {
                public bool stopped;
                [CCode (has_construct_function = false)]
                protected WebRTCRTPTransceiver ();
+               public virtual void set_direction (Gst.WebRTCRTPTransceiverDirection direction);
                [NoAccessorMethod]
                public uint mlineindex { get; construct; }
                [NoAccessorMethod]