[vala/staging] gstreamer: Update from 1.15.2+ git master



commit 0c9534abbb964c16ccacb5c16941f6c79a054eb4
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Mar 25 10:19:31 2019 +0100

    gstreamer: Update from 1.15.2+ git master

 vapi/gst-editing-services-1.0.vapi | 8 +++++++-
 vapi/gstreamer-audio-1.0.vapi      | 3 +++
 vapi/gstreamer-base-1.0.vapi       | 6 ------
 vapi/gstreamer-video-1.0.vapi      | 3 ++-
 4 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 951ae391f..596930d8e 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -456,6 +456,7 @@ namespace GES {
                public GLib.Value get_child_property_by_pspec (GLib.ParamSpec pspec);
                public Gst.ClockTime get_duration ();
                public Gst.ClockTime get_inpoint ();
+               public virtual uint32 get_layer_priority ();
                public Gst.ClockTime get_max_duration ();
                public string get_name ();
                public GES.TimelineElement? get_parent ();
@@ -819,7 +820,8 @@ namespace GES {
                [CCode (cname = "GES_EDGE_END")]
                EDGE_END,
                [CCode (cname = "GES_EDGE_NONE")]
-               EDGE_NONE
+               EDGE_NONE;
+               public unowned string name ();
        }
        [CCode (cheader_filename = "ges/ges.h", cprefix = "GES_EDIT_MODE_", type_id = "ges_edit_mode_get_type 
()")]
        public enum EditMode {
@@ -1005,8 +1007,10 @@ namespace GES {
        [CCode (cheader_filename = "ges/ges.h", has_target = false)]
        public delegate bool FormatterCanLoadURIMethod (GES.Formatter dummy_instance, string uri) throws 
GLib.Error;
        [CCode (cheader_filename = "ges/ges.h", has_target = false)]
+       [Version (deprecated = true, deprecated_since = "1.16")]
        public delegate bool FormatterLoadFromURIMethod (GES.Formatter formatter, GES.Timeline timeline, 
string uri) throws GLib.Error;
        [CCode (cheader_filename = "ges/ges.h", has_target = false)]
+       [Version (deprecated = true, deprecated_since = "1.16")]
        public delegate bool FormatterSaveToURIMethod (GES.Formatter formatter, GES.Timeline timeline, string 
uri, bool overwrite) throws GLib.Error;
        [CCode (cheader_filename = "ges/ges.h", instance_pos = 3.9)]
        public delegate void MetaForeachFunc (GES.MetaContainer container, string key, GLib.Value value);
@@ -1034,6 +1038,8 @@ namespace GES {
        public const int PADDING;
        [CCode (cheader_filename = "ges/ges.h", cname = "GES_PADDING_LARGE")]
        public const int PADDING_LARGE;
+       [CCode (cheader_filename = "ges/ges.h", cname = "GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY")]
+       public const uint32 TIMELINE_ELEMENT_NO_LAYER_PRIORITY;
        [CCode (cheader_filename = "ges/ges.h", cname = "GES_VERSION_MAJOR")]
        public const int VERSION_MAJOR;
        [CCode (cheader_filename = "ges/ges.h", cname = "GES_VERSION_MICRO")]
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 2cd494b8f..8bb630390 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -978,6 +978,9 @@ 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_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_stream_volume_convert_volume")]
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index cc40f6e6c..fa4c112e1 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -833,12 +833,6 @@ namespace Gst {
                        public uint get_remaining ();
                        [CCode (cname = "gst_bit_writer_get_size")]
                        public uint get_size ();
-                       [CCode (cname = "gst_bit_writer_init")]
-                       public void init ();
-                       [CCode (cname = "gst_bit_writer_init_with_data")]
-                       public void init_with_data ([CCode (array_length_cname = "size", array_length_pos = 
1.5, array_length_type = "guint")] uint8[] data, bool initialized);
-                       [CCode (cname = "gst_bit_writer_init_with_size")]
-                       public void init_with_size (uint32 size, bool fixed);
                        [CCode (cname = "gst_bit_writer_put_bits_uint16")]
                        public bool put_bits_uint16 (uint16 value, uint nbits);
                        [CCode (cname = "gst_bit_writer_put_bits_uint32")]
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index e5c87101f..1a064dc5f 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -1049,7 +1049,8 @@ namespace Gst {
                        NV16_10LE32,
                        NV12_10LE40,
                        Y210,
-                       Y410
+                       Y410,
+                       VUYA
                }
                [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = 
"gst_video_format_flags_get_type ()")]
                [Flags]


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