From 71b48a7c676ea6851f4654538bf2d31dbac64180 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 17 Apr 2019 18:15:05 +0200 Subject: [PATCH] gstreamer: Update from 1.15.90+ git master --- vapi/gst-editing-services-1.0.vapi | 6 ++-- vapi/gstreamer-base-1.0.vapi | 4 +++ vapi/gstreamer-sdp-1.0.vapi | 6 ++-- vapi/gstreamer-video-1.0.vapi | 57 ------------------------------ 4 files changed, 12 insertions(+), 61 deletions(-) diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi index 596930d8e..47964fe0b 100644 --- a/vapi/gst-editing-services-1.0.vapi +++ b/vapi/gst-editing-services-1.0.vapi @@ -562,9 +562,11 @@ namespace GES { [CCode (has_construct_function = false)] protected TitleSource (); public uint32 get_background_color (); - public unowned string get_font_desc (); + [Version (deprecated = true, deprecated_since = "1.16")] + public string get_font_desc (); public GES.TextHAlign get_halignment (); - public unowned string get_text (); + [Version (deprecated = true, deprecated_since = "1.16")] + public string get_text (); public uint32 get_text_color (); public GES.TextVAlign get_valignment (); public double get_xpos (); diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi index fa4c112e1..dc075cffb 100644 --- a/vapi/gstreamer-base-1.0.vapi +++ b/vapi/gstreamer-base-1.0.vapi @@ -125,6 +125,10 @@ namespace Gst { public Gst.Buffer pop_buffer (); [NoWrapper] public virtual bool skip_buffer (Gst.Base.Aggregator aggregator, Gst.Buffer buffer); + [NoAccessorMethod] + [Version (since = "1.16")] + public bool emit_signals { get; set; } + public signal void buffer_consumed (Gst.Buffer object); } [CCode (cheader_filename = "gst/base/gstadapter.h,gst/base/gstbaseparse.h,gst/base/gstbasesink.h,gst/base/gstbasesrc.h,gst/base/gstbasetransform.h,gst/base/gstbitreader.h,gst/base/gstbytereader.h,gst/base/gstbytewriter.h,gst/base/gstcollectpads.h,gst/base/gstpushsrc.h,gst/base/gsttypefindhelper.h", cname = "GstBitReader", has_type_id = false)] [Compact] diff --git a/vapi/gstreamer-sdp-1.0.vapi b/vapi/gstreamer-sdp-1.0.vapi index 30f5e0da7..87bcc3631 100644 --- a/vapi/gstreamer-sdp-1.0.vapi +++ b/vapi/gstreamer-sdp-1.0.vapi @@ -453,7 +453,8 @@ namespace Gst { public enum MIKEYEncAlg { NULL, AES_CM_128, - AES_KW_128 + AES_KW_128, + AES_GCM_128 } [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYKVType", cprefix = "GST_MIKEY_KV_", has_type_id = false)] [GIR (name = "MIKEYKVType")] @@ -526,7 +527,8 @@ namespace Gst { FEC_ORDER, SRTP_AUTH, AUTH_TAG_LEN, - SRTP_PREFIX_LEN + SRTP_PREFIX_LEN, + AEAD_AUTH_TAG_LEN } [CCode (cheader_filename = "gst/sdp/sdp.h", cname = "GstMIKEYTSType", cprefix = "GST_MIKEY_TS_TYPE_", has_type_id = false)] [GIR (name = "MIKEYTSType")] diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi index f3a463a53..bdfed16ec 100644 --- a/vapi/gstreamer-video-1.0.vapi +++ b/vapi/gstreamer-video-1.0.vapi @@ -562,13 +562,6 @@ 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 { @@ -599,26 +592,6 @@ 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 { @@ -808,22 +781,6 @@ 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")] @@ -1535,30 +1492,16 @@ 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); -- 2.47.2