]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.19.90+ git main
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 4 Feb 2022 07:01:10 +0000 (08:01 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 4 Feb 2022 07:01:10 +0000 (08:01 +0100)
vapi/gstreamer-audio-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/gstreamer-webrtc-1.0.vapi
vapi/metadata/GstAudio-1.0.metadata
vapi/metadata/GstVideo-1.0.metadata

index 1ef4f5256961151342c7671130ef5fe2ebbf1c55..12b6b6037a6e382bd94e335d36000c59a6d0eb7d 100644 (file)
@@ -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]
index 912c650e04ae45c8592f7f43ca635622413c6ced..9806a3594503d9528e5ca162fbfacd0fe6c8dec5 100644 (file)
@@ -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")]
index 0d4eb56f1d8fc1a0a4108b1b15ef7aa73880e924..1824be00c1393b9e6f4105887e1353da32a41c45 100644 (file)
@@ -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);
index 5d9aaa171a46fabf69a4a4cd1cdda48bf21e3830..debd222a895d5d57f68d41b296cd997efa467a63 100644 (file)
@@ -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
index 01a5f348823568103a29f9e0c5dee91c2433b538..2376a62739401ed8c81d768871401c241275cad5 100644 (file)
@@ -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"