[vala/staging] gstreamer: Update from 1.15.1+
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gstreamer: Update from 1.15.1+
- Date: Wed, 30 Jan 2019 15:53:04 +0000 (UTC)
commit 395b2b37691303c081613c511e33d27e7623242e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Jan 30 16:46:23 2019 +0100
gstreamer: Update from 1.15.1+
vapi/gst-editing-services-1.0.vapi | 5 +++--
vapi/gstreamer-rtsp-1.0.vapi | 19 +++++++++++++++++++
vapi/gstreamer-webrtc-1.0.vapi | 5 +++++
3 files changed, 27 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 596a85575..951ae391f 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -436,8 +436,8 @@ namespace GES {
public virtual signal void layer_added (GES.Layer layer);
public virtual signal void layer_removed (GES.Layer layer);
public signal GLib.GenericArray<GES.Track> select_tracks_for_object (GES.Clip clip,
GES.TrackElement track_element);
- public signal void snapping_ended (GES.TrackElement object, GES.TrackElement p0, uint64 p1);
- public signal void snapping_started (GES.TrackElement object, GES.TrackElement p0, uint64 p1);
+ public signal void snapping_ended (GES.TrackElement obj1, GES.TrackElement obj2, uint64
position);
+ public signal void snapping_started (GES.TrackElement obj1, GES.TrackElement obj2, uint64
position);
public virtual signal void track_added (GES.Track track);
public virtual signal void track_removed (GES.Track track);
}
@@ -684,6 +684,7 @@ namespace GES {
public class UriClipAsset : GES.ClipAsset, GES.MetaContainer, GLib.AsyncInitable, GLib.Initable {
[CCode (finish_name = "ges_asset_request_finish", has_construct_function = false, type =
"void")]
public async UriClipAsset (string uri, GLib.Cancellable? cancellable) throws GLib.Error;
+ public static GES.UriClipAsset finish (GLib.AsyncResult res) throws GLib.Error;
public Gst.ClockTime get_duration ();
public unowned Gst.PbUtils.DiscovererInfo get_info ();
public unowned GLib.List<GES.UriSourceAsset> get_stream_assets ();
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index 3099690e7..2e2159503 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -52,6 +52,8 @@ namespace Gst {
public Gst.RTSP.Result receive (Gst.RTSP.Message message, GLib.TimeVal timeout);
public Gst.RTSP.Result reset_timeout ();
public Gst.RTSP.Result send (Gst.RTSP.Message message, GLib.TimeVal timeout);
+ [Version (since = "1.16")]
+ public Gst.RTSP.Result send_messages ([CCode (array_length_cname = "n_messages",
array_length_pos = 1.5, array_length_type = "guint")] Gst.RTSP.Message[] messages, GLib.TimeVal timeout);
[Version (since = "1.14")]
public void set_accept_certificate_func (owned
Gst.RTSP.ConnectionAcceptCertificateFunc func);
public Gst.RTSP.Result set_auth (Gst.RTSP.AuthMethod method, string user, string
pass);
@@ -105,6 +107,9 @@ namespace Gst {
public Gst.RTSP.Result free ();
[CCode (cname = "gst_rtsp_message_get_body")]
public Gst.RTSP.Result get_body ([CCode (array_length_cname = "size",
array_length_pos = 1.1, array_length_type = "guint")] out unowned uint8[] data);
+ [CCode (cname = "gst_rtsp_message_get_body_buffer")]
+ [Version (since = "1.16")]
+ public Gst.RTSP.Result get_body_buffer (out unowned Gst.Buffer buffer);
[CCode (cname = "gst_rtsp_message_get_header")]
public Gst.RTSP.Result get_header (Gst.RTSP.HeaderField field, out unowned string
value, int indx);
[CCode (cname = "gst_rtsp_message_get_header_by_name")]
@@ -112,6 +117,9 @@ namespace Gst {
public Gst.RTSP.Result get_header_by_name (string header, out unowned string value,
int index);
[CCode (cname = "gst_rtsp_message_get_type")]
public Gst.RTSP.MsgType get_type ();
+ [CCode (cname = "gst_rtsp_message_has_body_buffer")]
+ [Version (since = "1.16")]
+ public bool has_body_buffer ();
[CCode (cname = "gst_rtsp_message_init")]
public Gst.RTSP.Result init ();
[CCode (cname = "gst_rtsp_message_init_data")]
@@ -136,10 +144,19 @@ namespace Gst {
public Gst.RTSP.Result remove_header_by_name (string header, int index);
[CCode (cname = "gst_rtsp_message_set_body")]
public Gst.RTSP.Result set_body ([CCode (array_length_cname = "size",
array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
+ [CCode (cname = "gst_rtsp_message_set_body_buffer")]
+ [Version (since = "1.16")]
+ public Gst.RTSP.Result set_body_buffer (Gst.Buffer buffer);
[CCode (cname = "gst_rtsp_message_steal_body")]
public Gst.RTSP.Result steal_body ([CCode (array_length_cname = "size",
array_length_pos = 1.1, array_length_type = "guint")] out uint8[] data);
+ [CCode (cname = "gst_rtsp_message_steal_body_buffer")]
+ [Version (since = "1.16")]
+ public Gst.RTSP.Result steal_body_buffer (out Gst.Buffer buffer);
[CCode (cname = "gst_rtsp_message_take_body")]
public Gst.RTSP.Result take_body ([CCode (array_length_cname = "size",
array_length_pos = 1.1, array_length_type = "guint")] owned uint8[] data);
+ [CCode (cname = "gst_rtsp_message_take_body_buffer")]
+ [Version (since = "1.16")]
+ public Gst.RTSP.Result take_body_buffer (owned Gst.Buffer buffer);
[CCode (cname = "gst_rtsp_message_take_header")]
public Gst.RTSP.Result take_header (Gst.RTSP.HeaderField field, owned string value);
[CCode (cname = "gst_rtsp_message_take_header_by_name")]
@@ -177,6 +194,8 @@ namespace Gst {
public void get_send_backlog (out size_t bytes, out uint messages);
public void reset ();
public Gst.RTSP.Result send_message (Gst.RTSP.Message message, out uint id);
+ [Version (since = "1.16")]
+ public Gst.RTSP.Result send_messages ([CCode (array_length_cname = "n_messages",
array_length_pos = 1.5, array_length_type = "guint")] Gst.RTSP.Message[] messages, out uint id);
[Version (since = "1.4")]
public void set_flushing (bool flushing);
[Version (since = "1.2")]
diff --git a/vapi/gstreamer-webrtc-1.0.vapi b/vapi/gstreamer-webrtc-1.0.vapi
index 458347a9d..ab79bde18 100644
--- a/vapi/gstreamer-webrtc-1.0.vapi
+++ b/vapi/gstreamer-webrtc-1.0.vapi
@@ -164,6 +164,11 @@ namespace Gst {
CONTROLLED,
CONTROLLING
}
+ [CCode (cheader_filename = "gst/webrtc/webrtc.h", cprefix = "GST_WEBRTC_ICE_TRANSPORT_POLICY_",
type_id = "gst_webrtc_ice_transport_policy_get_type ()")]
+ public enum WebRTCICETransportPolicy {
+ ALL,
+ RELAY
+ }
[CCode (cheader_filename = "gst/webrtc/webrtc.h", cprefix = "GST_WEBRTC_PEER_CONNECTION_STATE_",
type_id = "gst_webrtc_peer_connection_state_get_type ()")]
public enum WebRTCPeerConnectionState {
NEW,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]