[vala/staging] gstreamer: Update from 1.19.90+ git main



commit acbd96f689652e8da09d34f4eabec02a26816f86
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Feb 4 08:01:10 2022 +0100

    gstreamer: Update from 1.19.90+ git main

 vapi/gstreamer-audio-1.0.vapi       |  3 +++
 vapi/gstreamer-video-1.0.vapi       |  3 +++
 vapi/gstreamer-webrtc-1.0.vapi      | 18 ++++++++++++++++++
 vapi/metadata/GstAudio-1.0.metadata |  3 +++
 vapi/metadata/GstVideo-1.0.metadata |  2 ++
 5 files changed, 29 insertions(+)
---
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 1ef4f5256..12b6b6037 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -375,6 +375,9 @@ namespace Gst {
                        public bool is_equal (Gst.Audio.Info other);
                        public void set_format (Gst.Audio.Format format, int rate, int channels, [CCode 
(array_length = false)] Gst.Audio.ChannelPosition position[64]);
                        public Gst.Caps to_caps ();
+                       [CCode (cname = "gst_audio_info_new_from_caps", has_construct_function = false)]
+                       [Version (since = "1.20")]
+                       public Info.with_caps (Gst.Caps caps);
                }
                [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
                [Compact]
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 912c650e0..9806a3594 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -412,6 +412,9 @@ namespace Gst {
                        [Version (since = "1.16")]
                        public bool set_interlaced_format (Gst.Video.Format format, Gst.Video.InterlaceMode 
mode, uint width, uint height);
                        public Gst.Caps to_caps ();
+                       [CCode (cname = "gst_video_info_new_from_caps", has_construct_function = false)]
+                       [Version (since = "1.20")]
+                       public Info.with_caps (Gst.Caps caps);
                }
                [CCode (cheader_filename = "gst/video/video.h", lower_case_cprefix = 
"gst_video_multiview_flagset_", type_id = "gst_video_multiview_flagset_get_type ()")]
                [GIR (name = "VideoMultiviewFlagsSet")]
diff --git a/vapi/gstreamer-webrtc-1.0.vapi b/vapi/gstreamer-webrtc-1.0.vapi
index 0d4eb56f1..1824be00c 100644
--- a/vapi/gstreamer-webrtc-1.0.vapi
+++ b/vapi/gstreamer-webrtc-1.0.vapi
@@ -288,6 +288,24 @@ namespace Gst {
                REMOTE_CANDIDATE,
                CERTIFICATE
        }
+       [CCode (cheader_filename = "gst/webrtc/webrtc.h", cprefix = "GST_WEBRTC_ERROR_")]
+       [Version (since = "1.20")]
+       public errordomain WebRTCError {
+               DATA_CHANNEL_FAILURE,
+               DTLS_FAILURE,
+               FINGERPRINT_FAILURE,
+               SCTP_FAILURE,
+               SDP_SYNTAX_ERROR,
+               HARDWARE_ENCODER_NOT_AVAILABLE,
+               ENCODER_ERROR,
+               INVALID_STATE,
+               INTERNAL_FAILURE;
+               [CCode (cname = "gst_webrtc_error_quark")]
+               public static GLib.Quark quark ();
+       }
+       [CCode (cheader_filename = "gst/webrtc/webrtc.h")]
+       [Version (replacement = "WebRTCError.quark", since = "1.20")]
+       public static GLib.Quark webrtc_error_quark ();
        [CCode (cheader_filename = "gst/webrtc/webrtc.h")]
        [Version (replacement = "WebRTCSDPType.to_string")]
        public static unowned string webrtc_sdp_type_to_string (Gst.WebRTCSDPType type);
diff --git a/vapi/metadata/GstAudio-1.0.metadata b/vapi/metadata/GstAudio-1.0.metadata
index 5d9aaa171..debd222a8 100644
--- a/vapi/metadata/GstAudio-1.0.metadata
+++ b/vapi/metadata/GstAudio-1.0.metadata
@@ -4,6 +4,9 @@ AUDIO_* name="AUDIO_(.+)"
 
 audio_resampler_new symbol_type="constructor" parent="Gst.Audio.Resampler" name="new"
 
+AudioInfo
+  .new_from_caps name="with_caps"
+
 // Field ownership
 AudioBaseSink.provided_clock unowned=false
 AudioClock.*#field skip
diff --git a/vapi/metadata/GstVideo-1.0.metadata b/vapi/metadata/GstVideo-1.0.metadata
index 01a5f3488..2376a6273 100644
--- a/vapi/metadata/GstVideo-1.0.metadata
+++ b/vapi/metadata/GstVideo-1.0.metadata
@@ -8,6 +8,8 @@ video_* name="video_(.+)"
 VideoFrame
   .data#field unowned=false
   .map#field name="map_info" unowned=false
+VideoInfo
+  .new_from_caps name="with_caps"
 VideoMeta
   .map#field name="map_v"
   .unmap#field name="unmap_v"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]