[vala/staging] gstreamer: Update from 1.19.0+ git master
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gstreamer: Update from 1.19.0+ git master
- Date: Sat, 28 Aug 2021 17:44:00 +0000 (UTC)
commit 3aaf1a95c2a5940095868f7d8f2f945c85c571f1
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Aug 28 19:39:56 2021 +0200
gstreamer: Update from 1.19.0+ git master
vapi/gstreamer-1.0.vapi | 8 ++++++++
vapi/gstreamer-pbutils-1.0.vapi | 19 +++++++++++++++++++
vapi/gstreamer-rtsp-1.0.vapi | 4 ++++
vapi/gstreamer-video-1.0.vapi | 6 +++++-
vapi/gstreamer-webrtc-1.0.vapi | 13 +++++++++++++
5 files changed, 49 insertions(+), 1 deletion(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index daf4ae57e..b7f77f86f 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1399,6 +1399,10 @@ namespace Gst {
public bool can_src_any_caps (Gst.Caps caps);
[CCode (returns_floating_reference = true)]
public Gst.Element? create (string? name);
+ [Version (since = "1.20")]
+ public unowned Gst.Element? create_valist (string? first, va_list? properties);
+ [Version (since = "1.20")]
+ public unowned Gst.Element? create_with_properties (uint n, string? names, GLib.Value?
values);
public static Gst.ElementFactory? find (string name);
public GLib.Type get_element_type ();
public unowned string? get_metadata (string key);
@@ -1415,6 +1419,10 @@ namespace Gst {
public bool list_is_type (Gst.ElementFactoryListType type);
[CCode (returns_floating_reference = true)]
public static Gst.Element? make (string factoryname, string? name);
+ [Version (since = "1.20")]
+ public static unowned Gst.Element? make_valist (string factoryname, string? first, va_list?
properties);
+ [Version (since = "1.20")]
+ public static unowned Gst.Element? make_with_properties (string factoryname, uint n, string?
names, GLib.Value? values);
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_event_ref", type_id = "gst_event_get_type
()", unref_function = "gst_event_unref")]
[Compact]
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index 6cfee23d6..99d316b0b 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -327,6 +327,19 @@ namespace Gst {
[CCode (cname = "gst_install_plugins_return_get_name")]
public unowned string get_name ();
}
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstPbUtilsCapsDescriptionFlags",
cprefix = "GST_PBUTILS_CAPS_DESCRIPTION_FLAG_", type_id = "gst_pb_utils_caps_description_flags_get_type ()")]
+ [Flags]
+ [GIR (name = "PbUtilsCapsDescriptionFlags")]
+ [Version (since = "1.20")]
+ public enum PbUtilsCapsDescriptionFlags {
+ CONTAINER,
+ AUDIO,
+ VIDEO,
+ IMAGE,
+ SUBTITLE,
+ TAG,
+ GENERIC
+ }
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstAudioVisualizerShaderFunc",
has_target = false)]
public delegate void AudioVisualizerShaderFunc (Gst.PbUtils.AudioVisualizer scope,
Gst.Video.Frame s, Gst.Video.Frame d);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstInstallPluginsResultFunc",
instance_pos = 1.9)]
@@ -386,6 +399,9 @@ namespace Gst {
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname =
"gst_encoding_list_available_categories")]
public static GLib.List<string> encoding_list_available_categories ();
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ [Version (since = "1.20")]
+ public static Gst.PbUtils.PbUtilsCapsDescriptionFlags get_caps_description_flags (Gst.Caps
caps);
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static string get_codec_description (Gst.Caps caps);
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static string get_decoder_description (Gst.Caps caps);
@@ -394,6 +410,9 @@ namespace Gst {
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static string get_encoder_description (Gst.Caps caps);
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ [Version (since = "1.20")]
+ public static string? get_file_extension_from_caps (Gst.Caps caps);
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static string get_sink_description (string protocol);
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static string get_source_description (string protocol);
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index 9e35cc3c7..7ecdbdbfe 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -42,6 +42,8 @@ namespace Gst {
public Gst.RTSP.Result do_tunnel (Gst.RTSP.Connection conn2);
public Gst.RTSP.Result flush (bool flush);
public Gst.RTSP.Result free ();
+ [Version (since = "1.20")]
+ public bool get_ignore_x_server_reply ();
public unowned string get_ip ();
public unowned GLib.Socket get_read_socket ();
public bool get_remember_session_id ();
@@ -89,6 +91,8 @@ namespace Gst {
[Version (since = "1.18")]
public void set_content_length_limit (uint limit);
public void set_http_mode (bool enable);
+ [Version (since = "1.20")]
+ public void set_ignore_x_server_reply (bool ignore);
public void set_ip (string ip);
public Gst.RTSP.Result set_proxy (string host, uint port);
public Gst.RTSP.Result set_qos_dscp (uint qos_dscp);
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 58c80a4be..dc3a6b036 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -112,7 +112,11 @@ namespace Gst {
public weak Gst.Caps allocation_caps;
public weak Gst.Caps caps;
public weak Gst.Buffer codec_data;
+ [Version (since = "1.20")]
+ public Gst.Video.ContentLightLevel content_light_level;
public weak Gst.Video.Info info;
+ [Version (since = "1.20")]
+ public Gst.Video.MasteringDisplayInfo mastering_display_info;
public unowned Gst.Video.CodecState @ref ();
public void unref ();
}
@@ -411,7 +415,7 @@ namespace Gst {
[GIR (name = "VideoOverlayComposition")]
public class OverlayComposition : Gst.MiniObject {
[CCode (has_construct_function = false)]
- public OverlayComposition (Gst.Video.OverlayRectangle rectangle);
+ public OverlayComposition (Gst.Video.OverlayRectangle? rectangle);
public void add_rectangle (Gst.Video.OverlayRectangle rectangle);
public bool blend (Gst.Video.Frame video_buf);
public Gst.Video.OverlayComposition copy ();
diff --git a/vapi/gstreamer-webrtc-1.0.vapi b/vapi/gstreamer-webrtc-1.0.vapi
index c2d56c31e..0d4eb56f1 100644
--- a/vapi/gstreamer-webrtc-1.0.vapi
+++ b/vapi/gstreamer-webrtc-1.0.vapi
@@ -119,6 +119,19 @@ namespace Gst {
[NoAccessorMethod]
public Gst.WebRTCRTPSender sender { owned get; construct; }
}
+ [CCode (cheader_filename = "gst/webrtc/webrtc.h", lower_case_csuffix = "webrtc_sctp_transport",
type_id = "gst_webrtc_sctp_transport_get_type ()")]
+ public abstract class WebRTCSCTPTransport : Gst.Object {
+ [CCode (has_construct_function = false)]
+ protected WebRTCSCTPTransport ();
+ [NoAccessorMethod]
+ public uint max_channels { get; }
+ [NoAccessorMethod]
+ public uint64 max_message_size { get; }
+ [NoAccessorMethod]
+ public Gst.WebRTCSCTPTransportState state { get; }
+ [NoAccessorMethod]
+ public Gst.WebRTCDTLSTransport transport { owned get; }
+ }
[CCode (cheader_filename = "gst/webrtc/webrtc.h", copy_function = "g_boxed_copy", free_function =
"g_boxed_free", lower_case_csuffix = "webrtc_session_description", type_id =
"gst_webrtc_session_description_get_type ()")]
[Compact]
public class WebRTCSessionDescription {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]