[vala/0.46] gstreamer: Update from 1.17.0+ git master



commit b0312d33795aed610bbe9774ccaac19caef37b7c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Nov 6 13:23:06 2019 +0100

    gstreamer: Update from 1.17.0+ git master

 vapi/gst-editing-services-1.0.vapi  |  7 +++++--
 vapi/gstreamer-1.0.vapi             | 25 ++++++++++++++++++++++++-
 vapi/gstreamer-check-1.0.vapi       |  3 +++
 vapi/gstreamer-pbutils-1.0.vapi     |  2 ++
 vapi/gstreamer-rtp-1.0.vapi         |  1 +
 vapi/gstreamer-rtsp-server-1.0.vapi | 10 ++++++++--
 vapi/gstreamer-video-1.0.vapi       | 12 ++++++++++++
 7 files changed, 55 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 7614e6b7d..72e29d79b 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -252,8 +252,8 @@ namespace GES {
                public bool move (GES.Marker marker, Gst.ClockTime position);
                public bool remove (GES.Marker marker);
                public uint size ();
-               public signal void marker_added (uint64 object, GES.Marker p0);
-               public signal void marker_moved (uint64 object, GES.Marker p0);
+               public signal void marker_added (uint64 position, GES.Marker marker);
+               public signal void marker_moved (uint64 previous_position, uint64 new_position, GES.Marker 
marker);
                public signal void marker_removed (GES.Marker marker);
        }
        [CCode (cheader_filename = "ges/ges.h", type_id = "ges_multi_file_source_get_type ()")]
@@ -833,6 +833,7 @@ namespace GES {
                public bool register_meta_string (GES.MetaFlag flags, string meta_item, string? value);
                public bool register_meta_uint (GES.MetaFlag flags, string meta_item, uint value);
                public bool register_meta_uint64 (GES.MetaFlag flags, string meta_item, uint64 value);
+               public bool register_static_meta (GES.MetaFlag flags, string meta_item, GLib.Type type);
                public bool set_boolean (string meta_item, bool value);
                public bool set_date (string meta_item, GLib.Date value);
                public bool set_date_time (string meta_item, Gst.DateTime value);
@@ -1077,6 +1078,8 @@ namespace GES {
        public const string META_FORMATTER_VERSION;
        [CCode (cheader_filename = "ges/ges.h", cname = "GES_META_FORMAT_VERSION")]
        public const string META_FORMAT_VERSION;
+       [CCode (cheader_filename = "ges/ges.h", cname = "GES_META_MARKER_COLOR")]
+       public const string META_MARKER_COLOR;
        [CCode (cheader_filename = "ges/ges.h", cname = "GES_META_VOLUME")]
        public const string META_VOLUME;
        [CCode (cheader_filename = "ges/ges.h", cname = "GES_META_VOLUME_DEFAULT")]
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 53004e922..ce4c332ec 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -145,6 +145,8 @@ namespace Gst {
                public const Gst.ElementFactoryListType ENCRYPTOR;
                [CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_FORMATTER")]
                public const Gst.ElementFactoryListType FORMATTER;
+               [CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_HARDWARE")]
+               public const Gst.ElementFactoryListType HARDWARE;
                [CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MAX_ELEMENTS")]
                public const Gst.ElementFactoryListType MAX_ELEMENTS;
                [CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_ANY")]
@@ -1391,6 +1393,12 @@ namespace Gst {
                public unowned Gst.Structure? get_structure ();
                public bool has_name (string name);
                [CCode (has_construct_function = false)]
+               [Version (since = "1.18")]
+               public Event.instant_rate_change (double rate_multiplier, Gst.SegmentFlags new_flags);
+               [CCode (has_construct_function = false)]
+               [Version (since = "1.18")]
+               public Event.instant_rate_sync_time (double rate, Gst.ClockTime running_time, Gst.ClockTime 
upstream_running_time);
+               [CCode (has_construct_function = false)]
                public Event.latency (Gst.ClockTime latency);
                [CCode (has_construct_function = false)]
                public Event.navigation (owned Gst.Structure structure);
@@ -1400,6 +1408,10 @@ namespace Gst {
                public void parse_gap (out Gst.ClockTime timestamp, out Gst.ClockTime duration);
                [Version (since = "1.2")]
                public bool parse_group_id (out uint group_id);
+               [Version (since = "1.18")]
+               public void parse_instant_rate_change (out double rate_multiplier, out Gst.SegmentFlags 
new_flags);
+               [Version (since = "1.18")]
+               public void parse_instant_rate_sync_time (double rate, out Gst.ClockTime running_time, out 
Gst.ClockTime upstream_running_time);
                public void parse_latency (out Gst.ClockTime latency);
                [Version (since = "1.6")]
                public void parse_protection (out unowned string system_id, out unowned Gst.Buffer data, out 
unowned string origin);
@@ -1619,6 +1631,9 @@ namespace Gst {
                [Version (since = "1.10")]
                public Message.info_with_details (Gst.Object? src, GLib.Error error, string debug, owned 
Gst.Structure? details);
                [CCode (has_construct_function = false)]
+               [Version (since = "1.18")]
+               public Message.instant_rate_request (Gst.Object src, double rate_multiplier);
+               [CCode (has_construct_function = false)]
                public Message.latency (Gst.Object? src);
                [CCode (has_construct_function = false)]
                [Version (since = "1.2")]
@@ -1648,6 +1663,8 @@ namespace Gst {
                public void parse_info (out GLib.Error gerror, out string debug);
                [Version (since = "1.10")]
                public void parse_info_details (out unowned Gst.Structure structure);
+               [Version (since = "1.18")]
+               public void parse_instant_rate_request (out double rate_multiplier);
                public void parse_new_clock (out unowned Gst.Clock clock);
                public void parse_progress (out Gst.ProgressType type, out string code, out string text);
                [Version (since = "1.10")]
@@ -3172,6 +3189,7 @@ namespace Gst {
                PROTECTION,
                SEGMENT_DONE,
                GAP,
+               INSTANT_RATE_CHANGE,
                QOS,
                SEEK,
                NAVIGATION,
@@ -3180,6 +3198,7 @@ namespace Gst {
                RECONFIGURE,
                TOC_SELECT,
                SELECT_STREAMS,
+               INSTANT_RATE_SYNC_TIME,
                CUSTOM_UPSTREAM,
                CUSTOM_DOWNSTREAM,
                CUSTOM_DOWNSTREAM_OOB,
@@ -3316,6 +3335,7 @@ namespace Gst {
                STREAMS_SELECTED,
                REDIRECT,
                DEVICE_CHANGED,
+               INSTANT_RATE_REQUEST,
                ANY;
                public unowned string get_name ();
                public GLib.Quark to_quark ();
@@ -3559,7 +3579,8 @@ namespace Gst {
                SNAP_NEAREST,
                TRICKMODE_KEY_UNITS,
                TRICKMODE_NO_AUDIO,
-               TRICKMODE_FORWARD_PREDICTED
+               TRICKMODE_FORWARD_PREDICTED,
+               INSTANT_RATE_CHANGE
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_SEEK_TYPE_", type_id = "gst_seek_type_get_type 
()")]
        public enum SeekType {
@@ -4042,6 +4063,8 @@ namespace Gst {
        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_INSTANT_FLAGS")]
+       public const int SEGMENT_INSTANT_FLAGS;
        [CCode (cheader_filename = "gst/gst.h", cname = "GST_SEQNUM_INVALID")]
        [Version (since = "1.14")]
        public const int SEQNUM_INVALID;
diff --git a/vapi/gstreamer-check-1.0.vapi b/vapi/gstreamer-check-1.0.vapi
index eb7ef6686..35ddf49ed 100644
--- a/vapi/gstreamer-check-1.0.vapi
+++ b/vapi/gstreamer-check-1.0.vapi
@@ -121,6 +121,9 @@ namespace Gst {
                        public Gst.Buffer pull ();
                        [CCode (cname = "gst_harness_pull_event")]
                        public Gst.Event pull_event ();
+                       [CCode (cname = "gst_harness_pull_until_eos")]
+                       [Version (since = "1.18")]
+                       public bool pull_until_eos (out Gst.Buffer buf);
                        [CCode (cname = "gst_harness_pull_upstream_event")]
                        public Gst.Event pull_upstream_event ();
                        [CCode (cname = "gst_harness_push")]
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index f0d186a66..3b2045374 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -204,6 +204,7 @@ namespace Gst {
                        public unowned string get_preset ();
                        public unowned string get_preset_name ();
                        public Gst.Caps get_restriction ();
+                       public bool get_single_segment ();
                        public unowned string get_type_nick ();
                        public bool is_enabled ();
                        public bool is_equal (Gst.PbUtils.EncodingProfile b);
@@ -217,6 +218,7 @@ namespace Gst {
                        public void set_preset (string? preset);
                        public void set_preset_name (string? preset_name);
                        public void set_restriction (owned Gst.Caps? restriction);
+                       public void set_single_segment (bool single_segment);
                        [NoAccessorMethod]
                        public Gst.Caps restriction_caps { owned get; set; }
                }
diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi
index ddf2c3d01..495ed1afa 100644
--- a/vapi/gstreamer-rtp-1.0.vapi
+++ b/vapi/gstreamer-rtp-1.0.vapi
@@ -559,6 +559,7 @@ namespace Gst {
                        RTPFB_TYPE_TMMBR,
                        RTPFB_TYPE_TMMBN,
                        RTPFB_TYPE_RTCP_SR_REQ,
+                       RTPFB_TYPE_TWCC,
                        PSFB_TYPE_PLI,
                        PSFB_TYPE_SLI,
                        PSFB_TYPE_RPSI,
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi
index e38d5992b..341cf879e 100644
--- a/vapi/gstreamer-rtsp-server-1.0.vapi
+++ b/vapi/gstreamer-rtsp-server-1.0.vapi
@@ -232,6 +232,8 @@ namespace Gst {
                        public bool is_shared ();
                        public bool is_stop_on_disconnect ();
                        public bool is_time_provider ();
+                       [Version (since = "1.18")]
+                       public void @lock ();
                        public uint n_streams ();
                        public virtual bool prepare (owned Gst.RTSPServer.Thread? thread);
                        [NoWrapper]
@@ -277,6 +279,8 @@ namespace Gst {
                        public virtual bool setup_sdp (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info);
                        public virtual bool suspend ();
                        public void take_pipeline (owned Gst.Pipeline pipeline);
+                       [Version (since = "1.18")]
+                       public void @unlock ();
                        public virtual bool unprepare ();
                        public virtual bool unsuspend ();
                        public void use_time_provider (bool time_provider);
@@ -546,6 +550,8 @@ namespace Gst {
                        public bool release_media (Gst.RTSPServer.SessionMedia media);
                        public void set_timeout (uint timeout);
                        public void touch ();
+                       [NoAccessorMethod]
+                       public uint extra_timeout { get; set; }
                        public string sessionid { get; construct; }
                        public uint timeout { get; set; }
                        [NoAccessorMethod]
@@ -901,8 +907,8 @@ 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 = 0.9)]
-               public delegate void MessageSentFunc ();
+               [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 = "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 919d4a14c..01efb846f 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -206,6 +206,9 @@ namespace Gst {
                        public virtual bool stop ();
                        [NoWrapper]
                        public virtual bool transform_meta (Gst.Video.CodecFrame frame, Gst.Meta meta);
+                       [NoAccessorMethod]
+                       [Version (since = "1.18")]
+                       public bool qos { get; set; }
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
                [Compact]
@@ -327,6 +330,8 @@ namespace Gst {
                        [Version (since = "1.6")]
                        public Info ();
                        public bool align (Gst.Video.Alignment align);
+                       [Version (since = "1.18")]
+                       public bool align_full (Gst.Video.Alignment align, out size_t plane_size);
                        public bool convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, 
out int64 dest_value);
                        [Version (since = "1.6")]
                        public Gst.Video.Info copy ();
@@ -783,7 +788,14 @@ namespace Gst {
                        public weak size_t offset[4];
                        [CCode (array_length = false)]
                        public weak int stride[4];
+                       public Gst.Video.Alignment alignment;
+                       [Version (since = "1.18")]
+                       public bool get_plane_height (out uint plane_height);
+                       [Version (since = "1.18")]
+                       public bool get_plane_size (out size_t plane_size);
                        public bool map (uint plane, Gst.MapInfo info, out void* data, out int stride, 
Gst.MapFlags flags);
+                       [Version (since = "1.18")]
+                       public bool set_alignment (Gst.Video.Alignment alignment);
                        public bool unmap (uint plane, Gst.MapInfo info);
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]