]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.19.0+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Feb 2021 16:38:51 +0000 (17:38 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Feb 2021 16:38:51 +0000 (17:38 +0100)
vapi/gst-editing-services-1.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-audio-1.0.vapi
vapi/gstreamer-rtp-1.0.vapi
vapi/gstreamer-video-1.0.vapi

index 4525fe2e50d5f097de365093ea25bf9b5530b0ac..04213da172cb85aa7d3e17a87a56efbc40595684 100644 (file)
@@ -401,6 +401,9 @@ namespace GES {
        public class Source : GES.TrackElement, GES.Extractable, GES.MetaContainer {
                [CCode (has_construct_function = false)]
                protected Source ();
+               [NoWrapper]
+               [Version (since = "1.20")]
+               public virtual bool select_pad (Gst.Pad pad);
        }
        [CCode (cheader_filename = "ges/ges.h", type_id = "ges_source_clip_get_type ()")]
        public class SourceClip : GES.Clip, GES.Extractable, GES.MetaContainer {
index f81e420e84655a29d9433e6344ddfa9360467c97..8ff28b52dccbab0564c4da1b861b350ff31ccce4 100644 (file)
@@ -3085,7 +3085,9 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BIN_FLAG_", type_id = "gst_bin_flags_get_type ()")]
        [Flags]
        public enum BinFlags {
+               [Version (since = "1.0.5")]
                NO_RESYNC,
+               [Version (since = "1.10")]
                STREAMS_AWARE,
                LAST
        }
@@ -3114,7 +3116,9 @@ namespace Gst {
                DROPPABLE,
                DELTA_UNIT,
                TAG_MEMORY,
+               [Version (since = "1.6")]
                SYNC_AFTER,
+               [Version (since = "1.14")]
                NON_DROPPABLE,
                LAST
        }
index c7e944af71cdc9e3844a286248d00c0f1b2f7c75..49280d2eed669fc58932bf09dba25273e0334b1a 100644 (file)
@@ -581,6 +581,14 @@ namespace Gst {
                        public void fill_silence ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] dest);
                }
                [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
+               [GIR (name = "AudioLevelMeta")]
+               [Version (since = "1.20")]
+               public struct LevelMeta {
+                       public Gst.Meta meta;
+                       public uint8 level;
+                       public bool voice_activity;
+               }
+               [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
                [GIR (name = "AudioMeta")]
                [Version (since = "1.16")]
                public struct Meta {
@@ -1004,6 +1012,12 @@ namespace Gst {
                public static bool audio_info_from_caps (out unowned Gst.Audio.Info info, Gst.Caps caps);
                [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_info_init")]
                public static void audio_info_init (out unowned Gst.Audio.Info info);
+               [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_level_meta_api_get_type")]
+               [Version (since = "1.20")]
+               public static GLib.Type audio_level_meta_api_get_type ();
+               [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_level_meta_get_info")]
+               [Version (since = "1.20")]
+               public static unowned Gst.MetaInfo? audio_level_meta_get_info ();
                [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_make_raw_caps")]
                [Version (since = "1.18")]
                public static Gst.Caps audio_make_raw_caps ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint")] Gst.Audio.Format[]? formats, Gst.Audio.Layout layout);
@@ -1020,11 +1034,17 @@ namespace Gst {
                public static unowned Gst.Audio.ClippingMeta? buffer_add_audio_clipping_meta (Gst.Buffer buffer, Gst.Format format, uint64 start, uint64 end);
                [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_add_audio_downmix_meta")]
                public static unowned Gst.Audio.DownmixMeta? buffer_add_audio_downmix_meta (Gst.Buffer buffer, [CCode (array_length_cname = "from_channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] from_position, [CCode (array_length_cname = "to_channels", array_length_pos = 3.5)] Gst.Audio.ChannelPosition[] to_position, float matrix);
+               [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_add_audio_level_meta")]
+               [Version (since = "1.20")]
+               public static unowned Gst.Audio.LevelMeta? buffer_add_audio_level_meta (Gst.Buffer buffer, uint8 level, bool voice_activity);
                [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_add_audio_meta")]
                [Version (since = "1.16")]
                public static unowned Gst.Audio.Meta? buffer_add_audio_meta (Gst.Buffer buffer, Gst.Audio.Info info, size_t samples, size_t? offsets);
                [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_get_audio_downmix_meta_for_channels")]
                public static unowned Gst.Audio.DownmixMeta? buffer_get_audio_downmix_meta_for_channels (Gst.Buffer buffer, [CCode (array_length_cname = "to_channels", array_length_pos = 2.1)] Gst.Audio.ChannelPosition[] to_position);
+               [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_get_audio_level_meta")]
+               [Version (since = "1.20")]
+               public static unowned Gst.Audio.LevelMeta? buffer_get_audio_level_meta (Gst.Buffer buffer);
                [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_stream_volume_convert_volume")]
                public static double stream_volume_convert_volume (Gst.Audio.StreamVolumeFormat from, Gst.Audio.StreamVolumeFormat to, double val);
        }
index 30cd2179bf33fc73a7067153e6c7e1b844819146..ef6d6bb756dd2cdbf0236a7ab34e09dd367b07d6 100644 (file)
@@ -50,6 +50,9 @@ namespace Gst {
                        [Version (since = "1.16")]
                        public void set_source_info_enabled (bool enable);
                        [NoAccessorMethod]
+                       [Version (since = "1.20")]
+                       public bool auto_header_extension { get; set; }
+                       [NoAccessorMethod]
                        [Version (since = "1.18")]
                        public int max_reorder { get; set; }
                        [NoAccessorMethod]
@@ -96,6 +99,9 @@ namespace Gst {
                        [NoWrapper]
                        public virtual bool src_event (Gst.Event event);
                        [NoAccessorMethod]
+                       [Version (since = "1.20")]
+                       public bool auto_header_extension { get; set; }
+                       [NoAccessorMethod]
                        public int64 max_ptime { get; set; }
                        [NoAccessorMethod]
                        public int64 min_ptime { get; set; }
index 41cc99fbeee94fda5de45898f7abe22a23f26307..2e7deeea197a116da50043ddc8862580493941a8 100644 (file)
@@ -731,6 +731,8 @@ namespace Gst {
                        public bool from_caps (Gst.Caps caps);
                        public bool from_string (string level);
                        public void init ();
+                       [Version (since = "1.20")]
+                       public bool is_equal (Gst.Video.ContentLightLevel other);
                        public string to_string ();
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]