]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.17.0+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 21 Aug 2019 14:27:14 +0000 (16:27 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 21 Aug 2019 14:28:29 +0000 (16:28 +0200)
vapi/gst-editing-services-1.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-audio-1.0.vapi
vapi/gstreamer-base-1.0.vapi
vapi/gstreamer-rtsp-server-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/gstreamer-webrtc-1.0.vapi

index 2f9f22878ede2d216aac708dd1a19b033aa809be..97e3f0487220363abdd8ff10e3bed2beedc76f07 100644 (file)
@@ -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 ()")]
index 85adfa4dcbaad70cc830eeb35c803982223a608e..4e7636f57992780bc371f4652b1a2ce36fe61465 100644 (file)
@@ -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);
index b0f71c31135528a5a97184477264cff5d7f70c5d..e41a340aca39e9968b46dc6f126ab2e8f2736e53 100644 (file)
@@ -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 ()")]
index ed36242815c8741fd3961649a0fedd22d617912a..a5c98e2928e4b72f6efc976e61e485f50b0fceca 100644 (file)
@@ -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);
index f0a55ca3cc8c8ba335802d294095bd977f1b48db..b61111372691a3e86de3cf1dff6a3af7c7359aae 100644 (file)
@@ -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);
index 4977e8973f07ab03fbfb176505f5e4ebeae656ce..bf3e5ebc881b8549b9dca9fe1a9fdc24ef5c130a 100644 (file)
@@ -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]
index ea8fbb4ccc6383f4c10748d9e19fd0bb4700eee1..ad22c5a15e43c2fc03c0e2faa11c15c196b01f51 100644 (file)
@@ -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]