]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.15.2+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 8 Apr 2019 15:42:53 +0000 (17:42 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 8 Apr 2019 15:43:20 +0000 (17:43 +0200)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-rtp-1.0.vapi
vapi/gstreamer-rtsp-1.0.vapi
vapi/gstreamer-video-1.0.vapi

index dcfb88dde8d5781055aeaaaa9798757f03b18b60..305c4cb0ee2347d9c0f96652dd3dab10ff7bb422 100644 (file)
@@ -1387,6 +1387,8 @@ namespace Gst {
                public void parse_protection (out unowned string system_id, out unowned Gst.Buffer data, out unowned string origin);
                public void parse_qos (out Gst.QOSType type, out double proportion, out Gst.ClockTimeDiff diff, out Gst.ClockTime timestamp);
                public void parse_seek (out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out int64 start, out Gst.SeekType stop_type, out int64 stop);
+               [Version (since = "1.16")]
+               public void parse_seek_trickmode_interval (out Gst.ClockTime interval);
                public void parse_segment (out unowned Gst.Segment segment);
                public void parse_segment_done (out Gst.Format format, out int64 position);
                [Version (since = "1.10")]
@@ -1425,6 +1427,8 @@ namespace Gst {
                public void set_group_id (uint group_id);
                [Version (since = "1.4")]
                public void set_running_time_offset (int64 offset);
+               [Version (since = "1.16")]
+               public void set_seek_trickmode_interval (Gst.ClockTime interval);
                public void set_seqnum (uint32 seqnum);
                [Version (since = "1.10")]
                public void set_stream (Gst.Stream stream);
index 598ce27f4dc35783107336f9aecb2b681b15d10e..e0d7d96d405b74e3fc7dfb2f2b093cf0efc7bb58 100644 (file)
@@ -91,6 +91,9 @@ namespace Gst {
                        [NoAccessorMethod]
                        public uint mtu { get; set; }
                        [NoAccessorMethod]
+                       [Version (since = "1.16")]
+                       public bool onvif_no_rate_control { get; set; }
+                       [NoAccessorMethod]
                        public bool perfect_rtptime { get; set; }
                        [NoAccessorMethod]
                        public uint pt { get; set; }
index 2e215950353dae103718594b3953d9f05f15bdbc..ced743eda5bbb0700d5507152744dd9f013bc1aa 100644 (file)
@@ -385,6 +385,8 @@ namespace Gst {
                        MEDIA_PROPERTIES,
                        SEEK_STYLE,
                        ACCEPT_RANGES,
+                       FRAMES,
+                       RATE_CONTROL,
                        LAST
                }
                [CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_LOWER_TRANS_", type_id = "gst_rtsp_lower_trans_get_type ()")]
index 1a064dc5fea341368bdd1e32af67b05f8e8be681..f3a463a53e13b46691308efaeb8b7554978026d7 100644 (file)
@@ -562,6 +562,13 @@ namespace Gst {
                        public bool try_set_render_rectangle (int x, int y, int width, int height);
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+               [GIR (name = "VideoAfdMeta")]
+               [Version (since = "1.16")]
+               public struct AfdMeta {
+                       public Gst.Meta meta;
+                       public Gst.Video.Afd afd;
+               }
+               [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
                [GIR (name = "VideoAffineTransformationMeta")]
                [Version (since = "1.8")]
                public struct AffineTransformationMeta {
@@ -592,6 +599,26 @@ namespace Gst {
                        public weak uint8[] data;
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+               [GIR (name = "VideoBarData")]
+               [Version (since = "1.16")]
+               public struct BarData {
+                       public bool top_bar_flag;
+                       public bool bottom_bar_flag;
+                       public bool left_bar_flag;
+                       public bool right_bar_flag;
+                       public uint16 top_bar;
+                       public uint16 bottom_bar;
+                       public uint16 left_bar;
+                       public uint16 right_bar;
+               }
+               [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+               [GIR (name = "VideoBarMeta")]
+               [Version (since = "1.16")]
+               public struct BarMeta {
+                       public Gst.Meta meta;
+                       public Gst.Video.BarData bar_data;
+               }
+               [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
                [GIR (name = "VideoCaptionMeta")]
                [Version (since = "1.16")]
                public struct CaptionMeta {
@@ -781,6 +808,22 @@ namespace Gst {
                        public Gst.Meta meta;
                        public weak Gst.Video.TimeCode tc;
                }
+               [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_AFD_", type_id = "gst_video_afd_get_type ()")]
+               [GIR (name = "VideoAfd")]
+               [Version (since = "1.16")]
+               public enum Afd {
+                       ATSC_UNAVAILABLE,
+                       ETSI_16_9_ACTIVE_PICTURE,
+                       ETSI_14_9_ACTIVE_PICTURE,
+                       GREATER_THAN_16_9,
+                       @4_3_FULL_16_9_FULL,
+                       @4_3_FULL_4_3_PILLAR,
+                       @16_9_LETTER_16_9_FULL,
+                       @14_9_LETTER_14_9_PILLAR,
+                       @4_3_FULL_14_9_CENTER,
+                       @16_9_LETTER_14_9_CENTER,
+                       @16_9_LETTER_4_3_CENTER
+               }
                [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ALPHA_MODE_", type_id = "gst_video_alpha_mode_get_type ()")]
                [GIR (name = "VideoAlphaMode")]
                [Version (since = "1.6")]
@@ -1050,7 +1093,8 @@ namespace Gst {
                        NV12_10LE40,
                        Y210,
                        Y410,
-                       VUYA
+                       VUYA,
+                       BGR10A2_LE
                }
                [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
                [Flags]
@@ -1491,16 +1535,30 @@ namespace Gst {
                [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_Y_TILES_SHIFT")]
                public const int TILE_Y_TILES_SHIFT;
                [CCode (cheader_filename = "gst/video/video.h")]
+               public static GLib.Type afd_meta_api_get_type ();
+               [CCode (cheader_filename = "gst/video/video.h")]
+               public static unowned Gst.MetaInfo? afd_meta_get_info ();
+               [CCode (cheader_filename = "gst/video/video.h")]
                public static GLib.Type affine_transformation_meta_api_get_type ();
                [CCode (cheader_filename = "gst/video/video.h")]
                public static unowned Gst.MetaInfo? affine_transformation_meta_get_info ();
                [CCode (cheader_filename = "gst/video/video.h")]
+               public static GLib.Type bar_meta_api_get_type ();
+               [CCode (cheader_filename = "gst/video/video.h")]
+               public static unowned Gst.MetaInfo? bar_meta_get_info ();
+               [CCode (cheader_filename = "gst/video/video.h")]
                public static bool blend (Gst.Video.Frame dest, Gst.Video.Frame src, int x, int y, float global_alpha);
                [CCode (cheader_filename = "gst/video/video.h")]
                public static void blend_scale_linear_RGBA (Gst.Video.Info src, Gst.Buffer src_buffer, int dest_height, int dest_width, out unowned Gst.Video.Info dest, out Gst.Buffer dest_buffer);
+               [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_afd_meta")]
+               [Version (since = "1.16")]
+               public static unowned Gst.Video.AfdMeta? buffer_add_video_afd_meta (Gst.Buffer buffer, Gst.Video.Afd afd);
                [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_affine_transformation_meta")]
                [Version (since = "1.8")]
                public static unowned Gst.Video.AffineTransformationMeta? buffer_add_video_affine_transformation_meta (Gst.Buffer buffer);
+               [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_bar_meta")]
+               [Version (since = "1.16")]
+               public static unowned Gst.Video.BarMeta? buffer_add_video_bar_meta (Gst.Buffer buffer, Gst.Video.BarData bar_data);
                [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_caption_meta")]
                [Version (since = "1.16")]
                public static unowned Gst.Video.CaptionMeta? buffer_add_video_caption_meta (Gst.Buffer buffer, Gst.Video.CaptionType caption_type, [CCode (array_length_cname = "size", array_length_pos = 3.1, array_length_type = "gsize")] uint8[] data);