From: Rico Tzschichholz Date: Tue, 19 May 2020 10:56:53 +0000 (+0200) Subject: gstreamer: Update from 1.17.0+ git master X-Git-Tag: 0.49.1~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24de57b7b03ef7fadbec8540b20387fa8f711f86;p=thirdparty%2Fvala.git gstreamer: Update from 1.17.0+ git master --- diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi index 22f15ac3b..517117721 100644 --- a/vapi/gst-editing-services-1.0.vapi +++ b/vapi/gst-editing-services-1.0.vapi @@ -100,6 +100,7 @@ namespace GES { public virtual GLib.List create_track_elements (GES.TrackType type); public GES.TrackElement? find_track_element (GES.Track? track, GLib.Type type); public GLib.List 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 { diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index ab88ce854..c6d5a39c6 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -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); diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi index 24b6a54f0..5bb835e6c 100644 --- a/vapi/gstreamer-rtsp-1.0.vapi +++ b/vapi/gstreamer-rtsp-1.0.vapi @@ -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); } diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi index b17823599..6a7b4e970 100644 --- a/vapi/gstreamer-rtsp-server-1.0.vapi +++ b/vapi/gstreamer-rtsp-server-1.0.vapi @@ -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)] diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi index eca57ee21..11887bb02 100644 --- a/vapi/gstreamer-video-1.0.vapi +++ b/vapi/gstreamer-video-1.0.vapi @@ -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,