]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.17.0+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 19 May 2020 10:56:53 +0000 (12:56 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 19 May 2020 10:57:21 +0000 (12:57 +0200)
vapi/gst-editing-services-1.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-rtsp-1.0.vapi
vapi/gstreamer-rtsp-server-1.0.vapi
vapi/gstreamer-video-1.0.vapi

index 22f15ac3b34df5d2560e6f33b6d3443952e39c1b..51711772112a436b84ec3fd7471e0214b7681ab4 100644 (file)
@@ -100,6 +100,7 @@ namespace GES {
                public virtual GLib.List<weak GES.TrackElement> create_track_elements (GES.TrackType type);
                public GES.TrackElement? find_track_element (GES.Track? track, GLib.Type type);
                public GLib.List<GES.TrackElement> find_track_elements (GES.Track? track, GES.TrackType track_type, GLib.Type type);
+               public Gst.ClockTime get_duration_limit ();
                public GES.Layer? get_layer ();
                public GES.TrackType get_supported_formats ();
                public Gst.ClockTime get_timeline_time_from_source_frame (GES.FrameNumber frame_number) throws GLib.Error;
@@ -111,6 +112,7 @@ namespace GES {
                public bool set_top_effect_index (GES.BaseEffect effect, uint newindex);
                public bool set_top_effect_priority (GES.BaseEffect effect, uint newpriority);
                public unowned GES.Clip? split (uint64 position);
+               public uint64 duration_limit { get; }
                public GES.Layer layer { owned get; }
                public GES.TrackType supported_formats { get; set construct; }
        }
@@ -347,7 +349,7 @@ namespace GES {
                [NoWrapper]
                public virtual bool loading_error (GLib.Error error, string id, GLib.Type extractable_type);
                public bool remove_asset (GES.Asset asset);
-               public bool save (GES.Timeline timeline, string uri, GES.Asset? formatter_asset, bool overwrite) throws GLib.Error;
+               public bool save (GES.Timeline timeline, string uri, owned GES.Asset? formatter_asset, bool overwrite) throws GLib.Error;
                public string uri { owned get; construct; }
                public virtual signal void asset_added (GES.Asset asset);
                [Version (since = "1.8")]
@@ -698,6 +700,7 @@ namespace GES {
                public unowned GES.Track? get_track ();
                public GES.TrackType get_track_type ();
                public bool is_active ();
+               public bool is_core ();
                [CCode (array_length_pos = 0.1, array_length_type = "guint")]
                [Version (deprecated = true)]
                public GLib.ParamSpec[] list_children_properties ();
@@ -936,7 +939,8 @@ namespace GES {
                TRIM,
                [CCode (cname = "GES_EDIT_MODE_SLIDE")]
                EDIT_SLIDE,
-               SLIDE
+               SLIDE;
+               public unowned string name ();
        }
        [CCode (cheader_filename = "ges/ges.h", cprefix = "GES_ERROR_", has_type_id = false)]
        public enum Error {
index ab88ce85425b2fbfc968f4280fa11505c5f5cd25..c6d5a39c655a3a864ddbd026b29a21c43ba1439c 100644 (file)
@@ -1403,6 +1403,8 @@ namespace Gst {
                public uint32 get_seqnum ();
                public unowned Gst.Structure? get_structure ();
                public bool has_name (string name);
+               [Version (since = "1.18")]
+               public bool has_name_id (GLib.Quark name);
                [CCode (has_construct_function = false)]
                [Version (since = "1.18")]
                public Event.instant_rate_change (double rate_multiplier, Gst.SegmentFlags new_flags);
index 24b6a54f0991e8091304683beaf8f445a7c0e153..5bb835e6cde9c48b52bfd9a6dec18816a0caa059 100644 (file)
@@ -211,6 +211,7 @@ namespace Gst {
                        public void free ();
                        public Gst.RTSP.Result get_port (out uint16 port);
                        public string get_request_uri ();
+                       [Version (since = "1.18")]
                        public string get_request_uri_with_control (string control_path);
                        public Gst.RTSP.Result set_port (uint16 port);
                }
index b178235997f484d5f2aeff0b783d49f215f1f890..6a7b4e9707227a0552c1231be620ca437f6c0e6c 100644 (file)
@@ -199,6 +199,8 @@ namespace Gst {
                        public Gst.Clock? get_clock ();
                        [Version (since = "1.16")]
                        public bool get_do_retransmission ();
+                       [Version (since = "1.18")]
+                       public int get_dscp_qos ();
                        public Gst.Element get_element ();
                        public uint get_latency ();
                        [Version (since = "1.16")]
@@ -213,7 +215,7 @@ namespace Gst {
                        [Version (since = "1.18")]
                        public bool get_rate_control ();
                        [Version (since = "1.18")]
-                       public bool get_rates (double rate, double applied_rate);
+                       public bool get_rates (out double rate, out double applied_rate);
                        public Gst.ClockTime get_retransmission_time ();
                        public Gst.RTSPServer.MediaStatus get_status ();
                        public unowned Gst.RTSPServer.Stream? get_stream (uint idx);
@@ -256,6 +258,8 @@ namespace Gst {
                        public void set_clock (Gst.Clock? clock);
                        [Version (since = "1.16")]
                        public void set_do_retransmission (bool do_retransmission);
+                       [Version (since = "1.18")]
+                       public void set_dscp_qos (int dscp_qos);
                        public void set_eos_shutdown (bool eos_shutdown);
                        public void set_latency (uint latency);
                        [Version (since = "1.16")]
@@ -290,6 +294,7 @@ namespace Gst {
                        public bool bind_mcast_address { get; set; }
                        public uint buffer_size { get; set; }
                        public Gst.Clock clock { owned get; set; }
+                       public int dscp_qos { get; set; }
                        public Gst.Element element { owned get; construct; }
                        [NoAccessorMethod]
                        public bool eos_shutdown { get; set; }
@@ -338,6 +343,8 @@ namespace Gst {
                        public Gst.Clock get_clock ();
                        [Version (since = "1.16")]
                        public bool get_do_retransmission ();
+                       [Version (since = "1.18")]
+                       public int get_dscp_qos ();
                        public uint get_latency ();
                        public string? get_launch ();
                        [Version (since = "1.16")]
@@ -366,6 +373,8 @@ namespace Gst {
                        public void set_clock (Gst.Clock? clock);
                        [Version (since = "1.16")]
                        public void set_do_retransmission (bool do_retransmission);
+                       [Version (since = "1.18")]
+                       public void set_dscp_qos (int dscp_qos);
                        public void set_eos_shutdown (bool eos_shutdown);
                        public void set_latency (uint latency);
                        public void set_launch (string launch);
@@ -388,6 +397,7 @@ namespace Gst {
                        public bool bind_mcast_address { get; set; }
                        public uint buffer_size { get; set; }
                        public Gst.Clock clock { owned get; set; }
+                       public int dscp_qos { get; set; }
                        [NoAccessorMethod]
                        public bool eos_shutdown { get; set; }
                        public uint latency { get; set; }
@@ -633,7 +643,7 @@ namespace Gst {
                        [Version (since = "1.18")]
                        public bool get_rate_control ();
                        [Version (since = "1.18")]
-                       public bool get_rates (double? rate, double? applied_rate);
+                       public bool get_rates (out double rate, out double applied_rate);
                        public uint get_retransmission_pt ();
                        public Gst.ClockTime get_retransmission_time ();
                        [Version (since = "1.14")]
@@ -750,6 +760,8 @@ namespace Gst {
                        [Version (since = "1.16")]
                        public void set_list_callbacks (Gst.RTSPServer.SendListFunc send_rtp_list, owned Gst.RTSPServer.SendListFunc send_rtcp_list);
                        public void set_message_sent (owned Gst.RTSPServer.MessageSentFunc message_sent);
+                       [Version (since = "1.18")]
+                       public void set_message_sent_full (owned Gst.RTSPServer.MessageSentFuncFull message_sent);
                        public void set_timed_out (bool timedout);
                        public void set_transport (owned Gst.RTSP.Transport tr);
                        public void set_url (Gst.RTSP.Url? url);
@@ -909,8 +921,11 @@ namespace Gst {
                public delegate Gst.RTSPServer.FilterResult ClientSessionFilterFunc (Gst.RTSPServer.Client client, Gst.RTSPServer.Session sess);
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPKeepAliveFunc", instance_pos = 0.9)]
                public delegate void KeepAliveFunc ();
-               [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMessageSentFunc", instance_pos = 1.9)]
-               public delegate void MessageSentFunc (Gst.RTSPServer.StreamTransport trans);
+               [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMessageSentFunc", instance_pos = 0.9)]
+               public delegate void MessageSentFunc ();
+               [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPMessageSentFuncFull", instance_pos = 1.9)]
+               [Version (since = "1.18")]
+               public delegate void MessageSentFuncFull (Gst.RTSPServer.StreamTransport trans);
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSendFunc", instance_pos = 2.9)]
                public delegate bool SendFunc (Gst.Buffer buffer, uint8 channel);
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSendListFunc", instance_pos = 2.9)]
index eca57ee212709d1bddf0961fa3d5d58368214c7f..11887bb02e62bdda7049e8c7966476dceac0e332 100644 (file)
@@ -865,6 +865,7 @@ namespace Gst {
                }
                [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_AFD_SPEC_", type_id = "gst_video_afd_spec_get_type ()")]
                [GIR (name = "VideoAFDSpec")]
+               [Version (since = "1.18")]
                public enum AFDSpec {
                        DVB_ETSI,
                        ATSC_A53,