From: Rico Tzschichholz Date: Mon, 19 Oct 2020 18:55:50 +0000 (+0200) Subject: gstreamer: Update from 1.19.0+ git master X-Git-Tag: 0.51.1~208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71fbe96e8a0e3850739b7fd947de41ceb018ca17;p=thirdparty%2Fvala.git gstreamer: Update from 1.19.0+ git master --- diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index 9a428d67c..bbfe4c018 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -475,6 +475,9 @@ namespace Gst { [CCode (cheader_filename = "gst/gst.h")] public static bool deserialize (out GLib.Value dest, string src); [CCode (cheader_filename = "gst/gst.h")] + [Version (since = "1.20")] + public static bool deserialize_with_pspec (out GLib.Value dest, string src, GLib.ParamSpec? pspec); + [CCode (cheader_filename = "gst/gst.h")] public static bool fixate (GLib.Value dest, GLib.Value src); [CCode (cheader_filename = "gst/gst.h")] public static bool fraction_multiply (GLib.Value product, GLib.Value factor1, GLib.Value factor2); @@ -1987,7 +1990,7 @@ namespace Gst { [Version (since = "1.18")] public Gst.Caps get_documentation_caps (); [Version (since = "1.18")] - public void set_documentation_caps (Gst.Caps caps); + public void set_documentation_caps (owned Gst.Caps caps); [CCode (has_construct_function = false)] [Version (since = "1.14")] public PadTemplate.with_gtype (string name_template, Gst.PadDirection direction, Gst.PadPresence presence, Gst.Caps caps, GLib.Type pad_type); @@ -3048,6 +3051,8 @@ namespace Gst { public weak Gst.ValueCompareFunc compare; public weak Gst.ValueSerializeFunc serialize; public weak Gst.ValueDeserializeFunc deserialize; + [Version (since = "1.20")] + public weak Gst.ValueDeserializeWithPSpecFunc deserialize_with_pspec; } [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_ALLOCATOR_FLAG_", type_id = "gst_allocator_flags_get_type ()")] [Flags] @@ -4056,6 +4061,9 @@ namespace Gst { [CCode (cheader_filename = "gst/gst.h", has_target = false)] public delegate bool ValueDeserializeFunc (GLib.Value dest, string s); [CCode (cheader_filename = "gst/gst.h", has_target = false)] + [Version (since = "1.20")] + public delegate bool ValueDeserializeWithPSpecFunc (GLib.Value dest, string s, GLib.ParamSpec pspec); + [CCode (cheader_filename = "gst/gst.h", has_target = false)] public delegate string ValueSerializeFunc (GLib.Value value1); [CCode (cheader_filename = "gst/gst.h", cname = "GST_ALLOCATOR_SYSMEM")] public const string ALLOCATOR_SYSMEM; diff --git a/vapi/gstreamer-app-1.0.vapi b/vapi/gstreamer-app-1.0.vapi index b2bedd1b6..e968e01af 100644 --- a/vapi/gstreamer-app-1.0.vapi +++ b/vapi/gstreamer-app-1.0.vapi @@ -18,7 +18,7 @@ namespace Gst { public bool is_eos (); [Version (since = "1.12")] public void set_buffer_list_support (bool enable_lists); - public void set_caps (Gst.Caps caps); + public void set_caps (Gst.Caps? caps); public void set_drop (bool drop); public void set_emit_signals (bool emit); public void set_max_buffers (uint max); @@ -63,7 +63,7 @@ namespace Gst { public virtual Gst.FlowReturn push_buffer (owned Gst.Buffer buffer); [Version (since = "1.14")] public virtual Gst.FlowReturn push_buffer_list (owned Gst.BufferList buffer_list); - public void set_caps (Gst.Caps caps); + public void set_caps (Gst.Caps? caps); [Version (since = "1.10")] public void set_duration (Gst.ClockTime duration); public void set_emit_signals (bool emit); diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi index 6a7b4e970..a874587c7 100644 --- a/vapi/gstreamer-rtsp-server-1.0.vapi +++ b/vapi/gstreamer-rtsp-server-1.0.vapi @@ -362,6 +362,8 @@ namespace Gst { public Gst.RTSPServer.TransportMode get_transport_mode (); [Version (since = "1.16")] public bool is_bind_mcast_address (); + [Version (since = "1.20")] + public bool is_enable_rtcp (); public bool is_eos_shutdown (); public bool is_shared (); public bool is_stop_on_disonnect (); @@ -375,6 +377,8 @@ namespace Gst { public void set_do_retransmission (bool do_retransmission); [Version (since = "1.18")] public void set_dscp_qos (int dscp_qos); + [Version (since = "1.20")] + public void set_enable_rtcp (bool enable); public void set_eos_shutdown (bool eos_shutdown); public void set_latency (uint latency); public void set_launch (string launch); @@ -399,6 +403,9 @@ namespace Gst { public Gst.Clock clock { owned get; set; } public int dscp_qos { get; set; } [NoAccessorMethod] + [Version (since = "1.20")] + public bool enable_rtcp { get; set; } + [NoAccessorMethod] public bool eos_shutdown { get; set; } public uint latency { get; set; } public string launch { owned get; set; }