]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Regenerate GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 14 Jan 2021 16:55:34 +0000 (17:55 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 14 Jan 2021 16:55:34 +0000 (17:55 +0100)
vapi/gst-editing-services-1.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/metadata/Gst-1.0.metadata
vapi/metadata/GstVideo-1.0.metadata

index d5a43b32878634a3c65d06ce4baaa26edce44b33..4525fe2e50d5f097de365093ea25bf9b5530b0ac 100644 (file)
@@ -1211,6 +1211,10 @@ namespace GES {
        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);
+       [CCode (cheader_filename = "ges/ges.h", has_target = false, has_typedef = false)]
+       public delegate bool abiGetNaturalSizeFunc (GES.VideoSource self, int width, int height);
+       [CCode (cheader_filename = "ges/ges.h", has_target = false, has_typedef = false)]
+       public delegate bool abiNeedsConvertersFunc (GES.VideoSource self);
        [CCode (cheader_filename = "ges/ges.h", cname = "GES_FRAME_NUMBER_NONE")]
        public const int64 FRAME_NUMBER_NONE;
        [CCode (cheader_filename = "ges/ges.h", cname = "GES_META_DESCRIPTION")]
index bfaa4447de9bcbbddb0a63975925802f8dc09419..feaa8559600075c9233221894935a99b9941cfcd 100644 (file)
@@ -1571,6 +1571,7 @@ namespace Gst {
                public weak Gst.Iterator pushed;
                public uint size;
                public GLib.Type type;
+               public Gst.Iterator copy ();
                [CCode (simple_generics = true)]
                public Gst.Iterator filter<T> ([CCode (type = "GCompareFunc")] GLib.SearchFunc<GLib.Value?,T> func, T user_data);
                [CCode (simple_generics = true)]
@@ -1800,6 +1801,7 @@ namespace Gst {
                public GLib.Type type;
                [Version (since = "1.16")]
                public void add_parent (Gst.MiniObject parent);
+               public Gst.MiniObject? copy ();
                [CCode (simple_generics = true)]
                public T get_qdata<T> (GLib.Quark quark);
                public bool is_writable ();
@@ -3053,7 +3055,14 @@ namespace Gst {
        }
        [CCode (cheader_filename = "gst/gst.h", has_type_id = false, lower_case_csuffix = "type_find")]
        public struct TypeFind {
+               [CCode (cname = "peek")]
+               public weak Gst.TypeFindPeekVFunc peek_v;
+               [CCode (cname = "suggest")]
+               public weak Gst.TypeFindSuggestVFunc suggest_v;
                public void* data;
+               [CCode (cname = "get_length")]
+               public weak Gst.TypeFindGetLengthVFunc get_length_v;
+               public uint64 get_length ();
                public static GLib.Type get_type ();
                [CCode (array_length_pos = 1.1, array_length_type = "guint")]
                public unowned uint8[]? peek (int64 offset);
@@ -4077,6 +4086,12 @@ namespace Gst {
        public delegate void TaskThreadFunc (Gst.Task task, GLib.Thread thread);
        [CCode (cheader_filename = "gst/gst.h", instance_pos = 1.9)]
        public delegate void TypeFindFunction (Gst.TypeFind find);
+       [CCode (cheader_filename = "gst/gst.h", has_target = false, has_typedef = false)]
+       public delegate uint64 TypeFindGetLengthVFunc (void* data);
+       [CCode (cheader_filename = "gst/gst.h", has_target = false, has_typedef = false)]
+       public delegate uint8 TypeFindPeekVFunc (void* data, int64 offset, uint size);
+       [CCode (cheader_filename = "gst/gst.h", has_target = false, has_typedef = false)]
+       public delegate void TypeFindSuggestVFunc (void* data, uint probability, Gst.Caps caps);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
        public delegate int ValueCompareFunc (GLib.Value value1, GLib.Value value2);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
index d11e88cdb5709fdaa27234b5d3a406e8f2fefb93..c0bab6ebead1d389a63ef8b64c66f0e719664cce 100644 (file)
@@ -784,7 +784,9 @@ namespace Gst {
                        public void* meta;
                        public int id;
                        [CCode (array_length = false)]
-                       public weak void* data[4];
+                       public void* data[4];
+                       [CCode (array_length = false, cname = "map")]
+                       public Gst.MapInfo map_info[4];
                        public bool copy (Gst.Video.Frame src);
                        public bool copy_plane (Gst.Video.Frame src, uint plane);
                        public bool map (Gst.Video.Info info, Gst.Buffer buffer, Gst.MapFlags flags);
@@ -868,6 +870,10 @@ namespace Gst {
                        public weak size_t offset[4];
                        [CCode (array_length = false)]
                        public weak int stride[4];
+                       [CCode (cname = "map")]
+                       public weak Gst.Video.MetaMapVFunc map_v;
+                       [CCode (cname = "unmap")]
+                       public weak Gst.Video.MetaUnmapVFunc unmap_v;
                        public Gst.Video.Alignment alignment;
                        [Version (since = "1.18")]
                        public bool get_plane_height ([CCode (array_length = false)] out unowned uint plane_height[4]);
@@ -1576,6 +1582,10 @@ namespace Gst {
                public delegate void FormatUnpack (Gst.Video.FormatInfo info, Gst.Video.PackFlags flags, void* dest, void* data, int stride, int x, int y, int width);
                [CCode (cheader_filename = "gst/video/video.h", has_target = false)]
                public delegate bool GLTextureUpload (Gst.Video.GLTextureUploadMeta meta, uint texture_id);
+               [CCode (cheader_filename = "gst/video/video.h", has_target = false, has_typedef = false)]
+               public delegate bool MetaMapVFunc (Gst.Video.Meta meta, uint plane, Gst.MapInfo info, void* data, int stride, Gst.MapFlags flags);
+               [CCode (cheader_filename = "gst/video/video.h", has_target = false, has_typedef = false)]
+               public delegate bool MetaUnmapVFunc (Gst.Video.Meta meta, uint plane, Gst.MapInfo info);
                [CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META")]
                public const string BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META;
                [CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT")]
index e433211a5c2da21f94596e8903ea10b10a96b39e..eb6de8bb524b20ccb4ec2d8e14f2844b71a9030d 100644 (file)
@@ -285,6 +285,10 @@ ElementClass
   .get_pad_template#method name="class_get_pad_template"
   .get_pad_template_list#method name="class_get_pad_template_list"
 TypeFind lower_case_csuffix="type_find"
+TypeFind
+  .peek#field name="peek_v"
+  .suggest#field name="suggest_v"
+  .get_length#field name="get_length_v"
 
 // Backwards compatibility
 Structure.new_from_string skip
index 1777e7a140b361361b01b0311b41b510fcf68c28..01a5f348823568103a29f9e0c5dee91c2433b538 100644 (file)
@@ -5,6 +5,12 @@ video_* name="video_(.+)"
 
 *.ref unowned
 
+VideoFrame
+  .data#field unowned=false
+  .map#field name="map_info" unowned=false
+VideoMeta
+  .map#field name="map_v"
+  .unmap#field name="unmap_v"
 VideoOverlay
   .set_render_rectangle#virtual_method virtual
   .set_render_rectangle#method name="try_set_render_rectangle"