]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.19.0+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 28 Aug 2021 17:39:56 +0000 (19:39 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 28 Aug 2021 17:39:56 +0000 (19:39 +0200)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-pbutils-1.0.vapi
vapi/gstreamer-rtsp-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/gstreamer-webrtc-1.0.vapi

index daf4ae57e74e337067119d018f8a42bff8645d02..b7f77f86fb1e19c189a5d3f537ddd3b88ff9fc5b 100644 (file)
@@ -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]
index 6cfee23d6bb10fd9b08e29fb1d9c56afe4905387..99d316b0b6971361a10e378ad29b0ae7ec9097ec 100644 (file)
@@ -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);
index 9e35cc3c7583b7b4cb1bb708ee4341370a360e90..7ecdbdbfe3d6a2f004c5f3df46b544f5b531c17b 100644 (file)
@@ -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);
index 58c80a4be1fc4341be180c3722d470a408997b2d..dc3a6b03692dd17762df55c7f62ab629a6c5ab32 100644 (file)
@@ -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 ();
index c2d56c31effaf9e42a8351309af44209c3f0c17e..0d4eb56f1d8fc1a0a4108b1b15ef7aa73880e924 100644 (file)
@@ -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 {