summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-06-15 20:09:43 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-06-15 20:10:15 +0200
commiteb95c02d6d9b4419aff885c8fcd1918bb943c833 (patch)
treebd8663fefc9e86d615afed3f2417812b566d8abf /vapi
parent6ea19c61015d0dd6cacb581397c8fe37ace9df4a (diff)
downloadvala-eb95c02d6d9b4419aff885c8fcd1918bb943c833.tar.gz
gstreamer: Update from 1.17.0+ git master
Diffstat (limited to 'vapi')
-rw-r--r--vapi/gst-editing-services-1.0.vapi10
-rw-r--r--vapi/gstreamer-rtp-1.0.vapi3
-rw-r--r--vapi/gstreamer-rtsp-server-1.0.vapi34
-rw-r--r--vapi/gstreamer-video-1.0.vapi2
-rw-r--r--vapi/gstreamer-webrtc-1.0.vapi1
5 files changed, 37 insertions, 13 deletions
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index b09769082..e91e86e22 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -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")]
diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi
index e0d7d96d4..ddf2c3d01 100644
--- a/vapi/gstreamer-rtp-1.0.vapi
+++ b/vapi/gstreamer-rtp-1.0.vapi
@@ -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]
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi
index 6812086ad..f0a55ca3c 100644
--- a/vapi/gstreamer-rtsp-server-1.0.vapi
+++ b/vapi/gstreamer-rtsp-server-1.0.vapi
@@ -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")]
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index fb7669e2e..7fd749460 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -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")]
diff --git a/vapi/gstreamer-webrtc-1.0.vapi b/vapi/gstreamer-webrtc-1.0.vapi
index 7583d1842..ea8fbb4cc 100644
--- a/vapi/gstreamer-webrtc-1.0.vapi
+++ b/vapi/gstreamer-webrtc-1.0.vapi
@@ -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]