[vala/staging] gstreamer: Update from 1.15+ git master
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gstreamer: Update from 1.15+ git master
- Date: Wed, 7 Nov 2018 15:10:46 +0000 (UTC)
commit 10b87427a263886b0e36d5f4a297d6e079b74b6e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Nov 7 15:21:27 2018 +0100
gstreamer: Update from 1.15+ git master
vapi/gst-editing-services-1.0.vapi | 20 +-------------------
vapi/gstreamer-1.0.vapi | 20 +++++++-------------
vapi/gstreamer-check-1.0.vapi | 5 +++++
vapi/gstreamer-player-1.0.vapi | 3 +++
vapi/gstreamer-rtsp-server-1.0.vapi | 15 +++++----------
vapi/gstreamer-video-1.0.vapi | 1 +
6 files changed, 22 insertions(+), 42 deletions(-)
---
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 3861d5c4e..71dc0f644 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -314,20 +314,6 @@ namespace GES {
public virtual signal void loaded (GES.Timeline timeline);
public virtual signal string? missing_uri (GLib.Error error, GES.Asset wrong_asset);
}
- [CCode (cheader_filename = "ges/ges.h", type_id = "ges_smart_adder_get_type ()")]
- public class SmartAdder : Gst.Bin, Gst.ChildProxy {
- [CCode (array_length = false)]
- public weak void* _ges_reserved[4];
- public weak Gst.Element adder;
- public weak Gst.Caps caps;
- public weak Gst.Element capsfilter;
- public GLib.Mutex @lock;
- public weak GLib.HashTable<void*,void*> pads_infos;
- public weak Gst.Pad srcpad;
- public weak GES.Track track;
- [CCode (has_construct_function = false, type = "GstElement*")]
- public SmartAdder (GES.Track track);
- }
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_source_get_type ()")]
public class Source : GES.TrackElement, GES.Extractable, GES.MetaContainer {
[CCode (has_construct_function = false)]
@@ -491,17 +477,13 @@ namespace GES {
[NoWrapper]
public virtual void set_child_property (GLib.Object child, GLib.ParamSpec pspec, GLib.Value
value);
public void set_child_property_by_pspec (GLib.ParamSpec pspec, GLib.Value value);
- [NoWrapper]
public virtual bool set_duration (Gst.ClockTime duration);
- [NoWrapper]
public virtual bool set_inpoint (Gst.ClockTime inpoint);
- [NoWrapper]
public virtual bool set_max_duration (Gst.ClockTime maxduration);
public bool set_name (string? name);
public virtual bool set_parent (GES.TimelineElement parent);
- [NoWrapper]
+ [Version (deprecated = true)]
public virtual bool set_priority (uint32 priority);
- [NoWrapper]
public virtual bool set_start (Gst.ClockTime start);
public bool set_timeline (GES.Timeline timeline);
public virtual bool trim (uint64 start);
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index bdff126a3..1e9879544 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -734,6 +734,9 @@ namespace Gst {
public bool unset_flags (Gst.BufferFlags flags);
[CCode (has_construct_function = false)]
public Buffer.wrapped ([CCode (array_length_cname = "size", array_length_pos = 1.1,
array_length_type = "gsize")] owned uint8[] data);
+ [CCode (has_construct_function = false)]
+ [Version (since = "1.16")]
+ public Buffer.wrapped_bytes (GLib.Bytes bytes);
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_buffer_list_ref", type_id =
"gst_buffer_list_get_type ()", unref_function = "gst_buffer_list_unref")]
[Compact]
@@ -964,10 +967,14 @@ namespace Gst {
public Gst.ClockTime get_time ();
public Gst.ClockTime get_timeout ();
public static int id_compare_func (void* id1, void* id2);
+ [Version (since = "1.16")]
+ public static Gst.Clock? id_get_clock (Gst.ClockID id);
public static Gst.ClockTime id_get_time (Gst.ClockID id);
public static Gst.ClockID id_ref (Gst.ClockID id);
public static void id_unref (owned Gst.ClockID id);
public static void id_unschedule (Gst.ClockID id);
+ [Version (since = "1.16")]
+ public static bool id_uses_clock (Gst.ClockID id, Gst.Clock clock);
public static Gst.ClockReturn id_wait (Gst.ClockID id, out Gst.ClockTimeDiff jitter);
public static Gst.ClockReturn id_wait_async (Gst.ClockID id, owned Gst.ClockCallback func);
[Version (since = "1.6")]
@@ -3945,8 +3952,6 @@ namespace Gst {
public const string ELEMENT_METADATA_KLASS;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_METADATA_LONGNAME")]
public const string ELEMENT_METADATA_LONGNAME;
- [CCode (cheader_filename = "gst/gst.h", cname = "GST_ERROR_SYSTEM")]
- public const string ERROR_SYSTEM;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_EVENT_NUM_SHIFT")]
public const int EVENT_NUM_SHIFT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_EVENT_TYPE_BOTH")]
@@ -3958,8 +3963,6 @@ namespace Gst {
public const int64 FORMAT_PERCENT_MAX;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_FORMAT_PERCENT_SCALE")]
public const int64 FORMAT_PERCENT_SCALE;
- [CCode (cheader_filename = "gst/gst.h", cname = "GST_FOURCC_FORMAT")]
- public const string FOURCC_FORMAT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_GROUP_ID_INVALID")]
[Version (since = "1.14")]
public const int GROUP_ID_INVALID;
@@ -3992,24 +3995,15 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_PROTECTION_UNSPECIFIED_SYSTEM_ID")]
[Version (since = "1.16")]
public const string PROTECTION_UNSPECIFIED_SYSTEM_ID;
- [CCode (cheader_filename = "gst/gst.h", cname = "GST_PTR_FORMAT")]
- public const string PTR_FORMAT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_QUERY_NUM_SHIFT")]
public const int QUERY_NUM_SHIFT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_QUERY_TYPE_BOTH")]
public const Gst.QueryTypeFlags QUERY_TYPE_BOTH;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_SECOND")]
public const Gst.ClockTimeDiff SECOND;
- [CCode (cheader_filename = "gst/gst.h", cname = "GST_SEGMENT_FORMAT")]
- public const string SEGMENT_FORMAT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_SEQNUM_INVALID")]
[Version (since = "1.14")]
public const int SEQNUM_INVALID;
- [CCode (cheader_filename = "gst/gst.h", cname = "GST_STIME_FORMAT")]
- [Version (since = "1.6")]
- public const string STIME_FORMAT;
- [CCode (cheader_filename = "gst/gst.h", cname = "GST_TIME_FORMAT")]
- public const string TIME_FORMAT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TOC_REPEAT_COUNT_INFINITE")]
[Version (since = "1.4")]
public const int TOC_REPEAT_COUNT_INFINITE;
diff --git a/vapi/gstreamer-check-1.0.vapi b/vapi/gstreamer-check-1.0.vapi
index 00b3ad45e..eb7ef6686 100644
--- a/vapi/gstreamer-check-1.0.vapi
+++ b/vapi/gstreamer-check-1.0.vapi
@@ -42,6 +42,8 @@ namespace Gst {
public uint process_id_list (GLib.List<Gst.ClockID?>? pending_list);
public Gst.ClockID process_next_clock_id ();
public void set_time (Gst.ClockTime new_time);
+ [Version (since = "1.16")]
+ public bool timed_wait_for_multiple_pending_ids (uint count, uint timeout_ms, out
GLib.List<Gst.ClockID?> pending_list);
[Version (since = "1.4")]
public void wait_for_multiple_pending_ids (uint count, out GLib.List<Gst.ClockID?>
pending_list);
public void wait_for_next_pending_id (out Gst.ClockID pending_id);
@@ -74,6 +76,9 @@ namespace Gst {
public void add_element_src_pad (Gst.Pad srcpad);
[CCode (cname = "gst_harness_add_probe")]
public void add_probe (string element_name, string pad_name, Gst.PadProbeType mask,
owned Gst.PadProbeCallback callback);
+ [CCode (cname = "gst_harness_add_propose_allocation_meta")]
+ [Version (since = "1.16")]
+ public void add_propose_allocation_meta (GLib.Type api, Gst.Structure? @params);
[CCode (cname = "gst_harness_add_sink")]
public void add_sink (string sink_element_name);
[CCode (cname = "gst_harness_add_sink_harness")]
diff --git a/vapi/gstreamer-player-1.0.vapi b/vapi/gstreamer-player-1.0.vapi
index 80a328671..85fea770e 100644
--- a/vapi/gstreamer-player-1.0.vapi
+++ b/vapi/gstreamer-player-1.0.vapi
@@ -33,6 +33,7 @@ namespace Gst {
public double get_rate ();
public static unowned GLib.List<Gst.PlayerSubtitleInfo> get_subtitle_streams
(Gst.PlayerMediaInfo info);
public string get_subtitle_uri ();
+ public int64 get_subtitle_video_offset ();
public string get_uri ();
public Gst.Sample get_video_snapshot (Gst.PlayerSnapshotFormat format, Gst.Structure? config);
public static unowned GLib.List<Gst.PlayerVideoInfo> get_video_streams (Gst.PlayerMediaInfo
info);
@@ -55,6 +56,7 @@ namespace Gst {
public bool set_subtitle_track (int stream_index);
public void set_subtitle_track_enabled (bool enabled);
public void set_subtitle_uri (string uri);
+ public void set_subtitle_video_offset (int64 offset);
public void set_uri (string uri);
public bool set_video_track (int stream_index);
public void set_video_track_enabled (bool enabled);
@@ -77,6 +79,7 @@ namespace Gst {
public double rate { get; set; }
[NoAccessorMethod]
public Gst.PlayerSignalDispatcher signal_dispatcher { construct; }
+ public int64 subtitle_video_offset { get; set; }
[NoAccessorMethod]
public string suburi { owned get; set; }
public string uri { owned get; set; }
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi
index 5849cfb8f..cdc6899e7 100644
--- a/vapi/gstreamer-rtsp-server-1.0.vapi
+++ b/vapi/gstreamer-rtsp-server-1.0.vapi
@@ -385,43 +385,37 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPOnvifClient",
lower_case_cprefix = "gst_rtsp_onvif_client_", type_id = "gst_rtsp_onvif_client_get_type ()")]
[GIR (name = "RTSPOnvifClient")]
+ [Version (since = "1.14")]
public class OnvifClient : Gst.RTSPServer.Client {
[CCode (has_construct_function = false)]
protected 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")]
+ [Version (since = "1.14")]
public class OnvifMedia : Gst.RTSPServer.Media {
[CCode (has_construct_function = false)]
protected OnvifMedia ();
- [Version (since = "1.14")]
public bool collect_backchannel ();
- [Version (since = "1.14")]
public uint get_backchannel_bandwidth ();
- [Version (since = "1.14")]
public void set_backchannel_bandwidth (uint bandwidth);
}
[CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname =
"GstRTSPOnvifMediaFactory", lower_case_cprefix = "gst_rtsp_onvif_media_factory_", type_id =
"gst_rtsp_onvif_media_factory_get_type ()")]
[GIR (name = "RTSPOnvifMediaFactory")]
+ [Version (since = "1.14")]
public class OnvifMediaFactory : Gst.RTSPServer.MediaFactory {
[CCode (has_construct_function = false, type = "GstRTSPMediaFactory*")]
- [Version (since = "1.14")]
public OnvifMediaFactory ();
- [Version (since = "1.14")]
public uint get_backchannel_bandwidth ();
- [Version (since = "1.14")]
public string get_backchannel_launch ();
- [Version (since = "1.14")]
public virtual bool has_backchannel_support ();
- [Version (since = "1.14")]
public static bool requires_backchannel (Gst.RTSPServer.MediaFactory factory,
Gst.RTSPServer.Context ctx);
- [Version (since = "1.14")]
public void set_backchannel_bandwidth (uint bandwidth);
- [Version (since = "1.14")]
public void set_backchannel_launch (string launch);
}
[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")]
+ [Version (since = "1.14")]
public class OnvifServer : Gst.RTSPServer.Server {
[CCode (has_construct_function = false, type = "GstRTSPServer*")]
public OnvifServer ();
@@ -645,6 +639,7 @@ namespace Gst {
public void set_ulpfec_percentage (uint percentage);
[Version (since = "1.16")]
public void set_ulpfec_pt (uint pt);
+ public void set_watch_context (GLib.MainContext context);
public GLib.List<Gst.RTSPServer.StreamTransport> transport_filter
(Gst.RTSPServer.StreamTransportFilterFunc? func);
public bool unblock_linked ();
public bool update_crypto (uint ssrc, Gst.Caps? crypto);
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 5e2dafcb5..01111ba36 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -919,6 +919,7 @@ namespace Gst {
V210,
[CCode (cname = "GST_VIDEO_FORMAT_v216")]
V216,
+ Y210,
NV12,
NV21,
GRAY8,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]