]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Partly revert "gstreamer: Update from 1.19.0+ git master"
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 9 Aug 2021 06:11:04 +0000 (08:11 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 9 Aug 2021 06:11:04 +0000 (08:11 +0200)
This partly reverts commit e1f0316ba4fba6e47f91fbe447ab8e6db038a54b.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1210

vapi/gstreamer-audio-1.0.vapi
vapi/gstreamer-video-1.0.vapi

index a98c6211fc177ef2dbe8ec36423bcabcb31823df..1c33ba86f914b87a3da3e7a5a3417260478ad7d6 100644 (file)
@@ -366,6 +366,8 @@ namespace Gst {
                        public bool convert (Gst.Format src_fmt, int64 src_val, Gst.Format dest_fmt, out int64 dest_val);
                        public Gst.Audio.Info copy ();
                        public void free ();
+                       public bool from_caps (Gst.Caps caps);
+                       public void init ();
                        [Version (since = "1.2")]
                        public bool is_equal (Gst.Audio.Info other);
                        public void set_format (Gst.Audio.Format format, int rate, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition position[64]);
@@ -537,6 +539,7 @@ namespace Gst {
                        public int n_planes;
                        public void* planes;
                        public weak Gst.Buffer buffer;
+                       public bool map (Gst.Audio.Info info, Gst.Buffer gstbuffer, Gst.MapFlags flags);
                        public void unmap ();
                }
                [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
index db41717ea55ac376f06dfc226dcad08390fe1bad..15248f47dc725d2cb6d427f74e4394921766c269 100644 (file)
@@ -392,6 +392,8 @@ namespace Gst {
                        public Gst.Video.Info copy ();
                        [Version (since = "1.6")]
                        public void free ();
+                       public bool from_caps (Gst.Caps caps);
+                       public void init ();
                        public bool is_equal (Gst.Video.Info other);
                        public bool set_format (Gst.Video.Format format, uint width, uint height);
                        [Version (since = "1.16")]
@@ -798,6 +800,8 @@ namespace Gst {
                        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);
+                       public bool map_id (Gst.Video.Info info, Gst.Buffer buffer, int id, Gst.MapFlags flags);
                        public void unmap ();
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]