]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.15+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 20 Nov 2018 12:00:55 +0000 (13:00 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 20 Nov 2018 12:01:24 +0000 (13:01 +0100)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-video-1.0.vapi

index 1e987954470a9ecd3782c8e96d89067134336238..a23e63b1102f215b96ed16b5f5fbb48ec9b22efc 100644 (file)
@@ -2101,6 +2101,9 @@ namespace Gst {
                [CCode (has_construct_function = false)]
                public Query.allocation (Gst.Caps caps, bool need_pool);
                [CCode (has_construct_function = false)]
+               [Version (since = "1.16")]
+               public Query.bitrate ();
+               [CCode (has_construct_function = false)]
                public Query.buffering (Gst.Format format);
                [CCode (has_construct_function = false)]
                public Query.caps (Gst.Caps filter);
@@ -2131,6 +2134,8 @@ namespace Gst {
                public void parse_accept_caps (out unowned Gst.Caps caps);
                public void parse_accept_caps_result (out bool result);
                public void parse_allocation (out unowned Gst.Caps caps, out bool need_pool);
+               [Version (since = "1.16")]
+               public void parse_bitrate (out uint nominal_bitrate);
                public void parse_buffering_percent (out bool busy, out int percent);
                public void parse_buffering_range (out Gst.Format format, out int64 start, out int64 stop, out int64 estimated_total);
                public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
@@ -2173,6 +2178,8 @@ namespace Gst {
                [CCode (has_construct_function = false)]
                public Query.segment (Gst.Format format);
                public void set_accept_caps_result (bool result);
+               [Version (since = "1.16")]
+               public void set_bitrate (uint nominal_bitrate);
                public void set_buffering_percent (bool busy, int percent);
                public void set_buffering_range (Gst.Format format, int64 start, int64 stop, int64 estimated_total);
                public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
@@ -3476,7 +3483,8 @@ namespace Gst {
                ACCEPT_CAPS,
                CAPS,
                DRAIN,
-               CONTEXT;
+               CONTEXT,
+               BITRATE;
                public Gst.QueryTypeFlags get_flags ();
                public unowned string get_name ();
                public GLib.Quark to_quark ();
index 01111ba36a771b4e7b75e559fdd5d92f25004039..acfd7ff38ee9c773c3ad07396c429c4667ebbfeb 100644 (file)
@@ -410,6 +410,18 @@ namespace Gst {
                        public TimeCodeInterval.from_string (string tc_inter_str);
                        public void init (uint hours, uint minutes, uint seconds, uint frames);
                }
+               [CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_vbi_encoder_get_type ()")]
+               [Compact]
+               [GIR (name = "VideoVBIEncoder")]
+               [Version (since = "1.16")]
+               public class VBIEncoder {
+                       [CCode (has_construct_function = false)]
+                       public VBIEncoder (Gst.Video.Format format, uint32 pixel_width);
+                       public bool add_ancillary (bool composite, uint8 DID, uint8 SDID_block_number, [CCode (array_length_cname = "data_count", array_length_pos = 4.1, array_length_type = "guint")] uint8[] data);
+                       public Gst.Video.VBIEncoder copy ();
+                       public void free ();
+                       public void write_line (uint8 data);
+               }
                [CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_vbi_parser_get_type ()")]
                [Compact]
                [GIR (name = "VideoVBIParser")]
@@ -919,7 +931,6 @@ namespace Gst {
                        V210,
                        [CCode (cname = "GST_VIDEO_FORMAT_v216")]
                        V216,
-                       Y210,
                        NV12,
                        NV21,
                        GRAY8,
@@ -980,7 +991,8 @@ namespace Gst {
                        GRAY10_LE32,
                        NV12_10LE32,
                        NV16_10LE32,
-                       NV12_10LE40
+                       NV12_10LE40,
+                       Y210
                }
                [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
                [Flags]