From b3b736ee00c677701bcfe37c769329d3ce1cb251 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Thu, 10 Sep 2020 17:13:26 +0200 Subject: [PATCH] gstreamer: Update from 1.18.0+ git master --- vapi/gst-editing-services-1.0.vapi | 5 +++++ vapi/gstreamer-check-1.0.vapi | 3 +++ vapi/gstreamer-video-1.0.vapi | 18 +++++++++--------- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi index 0bb63f0b3..d5a43b328 100644 --- a/vapi/gst-editing-services-1.0.vapi +++ b/vapi/gst-editing-services-1.0.vapi @@ -885,14 +885,19 @@ namespace GES { public class VideoTransition : GES.Transition, GES.Extractable, GES.MetaContainer { [CCode (has_construct_function = false)] public VideoTransition (); + [Version (deprecated = true, deprecated_since = "1.20")] public int get_border (); public GES.VideoStandardTransitionType get_transition_type (); + [Version (deprecated = true, deprecated_since = "1.20")] public bool is_inverted (); + [Version (deprecated = true, deprecated_since = "1.20")] public void set_border (uint value); + [Version (deprecated = true, deprecated_since = "1.20")] public void set_inverted (bool inverted); public bool set_transition_type (GES.VideoStandardTransitionType type); public uint border { get; set; } [NoAccessorMethod] + [Version (deprecated = true, deprecated_since = "1.20")] public bool invert { get; set; } public GES.VideoStandardTransitionType transition_type { get; set; } } diff --git a/vapi/gstreamer-check-1.0.vapi b/vapi/gstreamer-check-1.0.vapi index 68f325442..42d1ec0a0 100644 --- a/vapi/gstreamer-check-1.0.vapi +++ b/vapi/gstreamer-check-1.0.vapi @@ -152,6 +152,9 @@ namespace Gst { public void set_drop_buffers (bool drop_buffers); [CCode (cname = "gst_harness_set_forwarding")] public void set_forwarding (bool forwarding); + [CCode (cname = "gst_harness_set_live")] + [Version (since = "1.20")] + public void set_live (bool is_live); [CCode (cname = "gst_harness_set_propose_allocator")] public void set_propose_allocator (owned Gst.Allocator? allocator, Gst.AllocationParams? @params); [CCode (cname = "gst_harness_set_sink_caps")] diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi index 4721cc87a..8730c72ed 100644 --- a/vapi/gstreamer-video-1.0.vapi +++ b/vapi/gstreamer-video-1.0.vapi @@ -1733,15 +1733,6 @@ namespace Gst { [Version (since = "1.6")] public static double color_transfer_encode (Gst.Video.TransferFunction func, double val); [CCode (cheader_filename = "gst/video/video.h")] - [Version (since = "1.18")] - public static Gst.Video.TransferFunction color_transfer_from_iso (uint value); - [CCode (cheader_filename = "gst/video/video.h")] - [Version (since = "1.18")] - public static bool color_transfer_is_equivalent (Gst.Video.TransferFunction from_func, uint from_bpp, Gst.Video.TransferFunction to_func, uint to_bpp); - [CCode (cheader_filename = "gst/video/video.h")] - [Version (since = "1.18")] - public static uint color_transfer_to_iso (Gst.Video.TransferFunction func); - [CCode (cheader_filename = "gst/video/video.h")] public static Gst.Sample convert_sample (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout) throws GLib.Error; [CCode (cheader_filename = "gst/video/video.h")] public static void convert_sample_async (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout, owned Gst.Video.ConvertSampleCallback callback); @@ -1912,5 +1903,14 @@ namespace Gst { public static GLib.Type time_code_meta_api_get_type (); [CCode (cheader_filename = "gst/video/video.h")] public static unowned Gst.MetaInfo? time_code_meta_get_info (); + [CCode (cheader_filename = "gst/video/video.h")] + [Version (since = "1.18")] + public static Gst.Video.TransferFunction transfer_function_from_iso (uint value); + [CCode (cheader_filename = "gst/video/video.h")] + [Version (since = "1.18")] + public static bool transfer_function_is_equivalent (Gst.Video.TransferFunction from_func, uint from_bpp, Gst.Video.TransferFunction to_func, uint to_bpp); + [CCode (cheader_filename = "gst/video/video.h")] + [Version (since = "1.18")] + public static uint transfer_function_to_iso (Gst.Video.TransferFunction func); } } -- 2.47.2