[vala/staging: 2/3] gstreamer: Update from 1.17.0+ git master



commit 417ff6c2040be42d17ff71f5c3849741c1d5de17
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Aug 21 16:27:14 2019 +0200

    gstreamer: Update from 1.17.0+ git master

 vapi/gst-editing-services-1.0.vapi  |  1 +
 vapi/gstreamer-1.0.vapi             |  4 ++++
 vapi/gstreamer-audio-1.0.vapi       |  1 +
 vapi/gstreamer-base-1.0.vapi        |  6 ++++++
 vapi/gstreamer-rtsp-server-1.0.vapi |  1 +
 vapi/gstreamer-video-1.0.vapi       | 12 ++++++------
 vapi/gstreamer-webrtc-1.0.vapi      |  5 +++--
 7 files changed, 22 insertions(+), 8 deletions(-)
---
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 2f9f22878..97e3f0487 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -717,6 +717,7 @@ namespace GES {
                [NoAccessorMethod]
                public uint64 duration { get; set; }
                [NoAccessorMethod]
+               [Version (since = "1.18")]
                public bool is_nested_timeline { get; }
        }
        [CCode (cheader_filename = "ges/ges.h", type_id = "ges_uri_source_asset_get_type ()")]
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 85adfa4dc..4e7636f57 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1251,6 +1251,10 @@ namespace Gst {
                public Gst.Context? get_context_unlocked (string context_type);
                [Version (since = "1.8")]
                public GLib.List<Gst.Context> get_contexts ();
+               [Version (since = "1.18")]
+               public Gst.ClockTime get_current_clock_time ();
+               [Version (since = "1.18")]
+               public Gst.ClockTime get_current_running_time ();
                public unowned Gst.ElementFactory? get_factory ();
                [Version (since = "1.14")]
                public unowned string get_metadata (string key);
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index b0f71c311..e41a340ac 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -22,6 +22,7 @@ namespace Gst {
                        [NoAccessorMethod]
                        public uint64 output_buffer_duration { get; set; }
                        [NoAccessorMethod]
+                       [Version (since = "1.18")]
                        public Gst.Fraction output_buffer_duration_fraction { owned get; set; }
                }
                [CCode (cheader_filename = "gst/audio/audio.h", type_id = 
"gst_audio_aggregator_convert_pad_get_type ()")]
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index ed3624281..a5c98e292 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -76,6 +76,8 @@ namespace Gst {
                        public Gst.ClockTime get_latency ();
                        [NoWrapper]
                        public virtual Gst.ClockTime get_next_time ();
+                       [Version (since = "1.18")]
+                       public virtual bool negotiate ();
                        [NoWrapper]
                        public virtual bool negotiated_src_caps (Gst.Caps caps);
                        [NoWrapper]
@@ -87,8 +89,12 @@ namespace Gst {
                        [NoWrapper]
                        public virtual bool sink_event (Gst.Base.AggregatorPad aggregator_pad, Gst.Event 
event);
                        [NoWrapper]
+                       public virtual bool sink_event_pre_queue (Gst.Base.AggregatorPad aggregator_pad, 
Gst.Event event);
+                       [NoWrapper]
                        public virtual bool sink_query (Gst.Base.AggregatorPad aggregator_pad, Gst.Query 
query);
                        [NoWrapper]
+                       public virtual bool sink_query_pre_queue (Gst.Base.AggregatorPad aggregator_pad, 
Gst.Query query);
+                       [NoWrapper]
                        public virtual bool src_activate (Gst.PadMode mode, bool active);
                        [NoWrapper]
                        public virtual bool src_event (Gst.Event event);
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi
index f0a55ca3c..b61111372 100644
--- a/vapi/gstreamer-rtsp-server-1.0.vapi
+++ b/vapi/gstreamer-rtsp-server-1.0.vapi
@@ -237,6 +237,7 @@ namespace Gst {
                        [NoWrapper]
                        public virtual bool query_stop (int64 stop);
                        public bool seek (Gst.RTSP.TimeRange range);
+                       [Version (since = "1.18")]
                        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);
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 4977e8973..bf3e5ebc8 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -655,20 +655,16 @@ namespace Gst {
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
                [GIR (name = "VideoContentLightLevel")]
+               [Version (since = "1.18")]
                public struct ContentLightLevel {
                        public uint maxCLL_n;
                        public uint maxCLL_d;
                        public uint maxFALL_n;
                        public uint maxFALL_d;
-                       [Version (since = "1.18")]
                        public bool add_to_caps (Gst.Caps caps);
-                       [Version (since = "1.18")]
                        public bool from_caps (Gst.Caps caps);
-                       [Version (since = "1.18")]
                        public bool from_string (string level);
-                       [Version (since = "1.18")]
                        public void init ();
-                       [Version (since = "1.18")]
                        public string to_string ();
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
@@ -1153,7 +1149,11 @@ namespace Gst {
                        Y410,
                        VUYA,
                        BGR10A2_LE,
-                       RGB10A2_LE
+                       RGB10A2_LE,
+                       Y444_16BE,
+                       Y444_16LE,
+                       P016_BE,
+                       P016_LE
                }
                [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = 
"gst_video_format_flags_get_type ()")]
                [Flags]
diff --git a/vapi/gstreamer-webrtc-1.0.vapi b/vapi/gstreamer-webrtc-1.0.vapi
index ea8fbb4cc..ad22c5a15 100644
--- a/vapi/gstreamer-webrtc-1.0.vapi
+++ b/vapi/gstreamer-webrtc-1.0.vapi
@@ -80,13 +80,14 @@ namespace Gst {
                public weak void* _padding[4];
                public weak Gst.Caps codec_preferences;
                public Gst.WebRTCRTPTransceiverDirection current_direction;
-               public Gst.WebRTCRTPTransceiverDirection direction;
                public weak string mid;
                public uint mline;
                public bool stopped;
                [CCode (has_construct_function = false)]
                protected WebRTCRTPTransceiver ();
-               public virtual void set_direction (Gst.WebRTCRTPTransceiverDirection direction);
+               [NoAccessorMethod]
+               [Version (since = "1.18")]
+               public Gst.WebRTCRTPTransceiverDirection direction { get; set; }
                [NoAccessorMethod]
                public uint mlineindex { get; construct; }
                [NoAccessorMethod]


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