]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.19.0+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 21 Sep 2021 05:59:50 +0000 (07:59 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 21 Sep 2021 05:59:50 +0000 (07:59 +0200)
vapi/gstreamer-play-1.0.vapi
vapi/gstreamer-player-1.0.vapi
vapi/gstreamer-rtp-1.0.vapi

index 65be184ce82d08fec9727414c43a0798fae32b53..f222736a67f8509f375a219fbfc1ba3371827311 100644 (file)
@@ -54,10 +54,10 @@ namespace Gst {
                        public int64 get_audio_video_offset ();
                        public double get_color_balance (Gst.Play.ColorBalanceType type);
                        public Gst.Structure get_config ();
-                       public Gst.Play.AudioInfo get_current_audio_track ();
-                       public Gst.Play.SubtitleInfo get_current_subtitle_track ();
-                       public Gst.Play.VideoInfo get_current_video_track ();
-                       public string get_current_visualization ();
+                       public Gst.Play.AudioInfo? get_current_audio_track ();
+                       public Gst.Play.SubtitleInfo? get_current_subtitle_track ();
+                       public Gst.Play.VideoInfo? get_current_video_track ();
+                       public string? get_current_visualization ();
                        public Gst.ClockTime get_duration ();
                        public Gst.Play.MediaInfo get_media_info ();
                        public Gst.Bus get_message_bus ();
@@ -71,7 +71,7 @@ namespace Gst {
                        public string get_subtitle_uri ();
                        public int64 get_subtitle_video_offset ();
                        public string get_uri ();
-                       public Gst.Sample get_video_snapshot (Gst.Play.SnapshotFormat format, Gst.Structure? config);
+                       public Gst.Sample? get_video_snapshot (Gst.Play.SnapshotFormat format, Gst.Structure? config);
                        public static unowned GLib.List<Gst.Play.VideoInfo> get_video_streams (Gst.Play.MediaInfo info);
                        public double get_volume ();
                        public bool has_color_balance ();
index e05295add6ed8ae787a66ba6db58a0a38b2e7b32..d1095275afe0cae8adce82cfe5080dac6f7a0149 100644 (file)
@@ -24,10 +24,10 @@ namespace Gst {
                public double get_color_balance (Gst.PlayerColorBalanceType type);
                [Version (since = "1.10")]
                public Gst.Structure get_config ();
-               public Gst.PlayerAudioInfo get_current_audio_track ();
-               public Gst.PlayerSubtitleInfo get_current_subtitle_track ();
-               public Gst.PlayerVideoInfo get_current_video_track ();
-               public string get_current_visualization ();
+               public Gst.PlayerAudioInfo? get_current_audio_track ();
+               public Gst.PlayerSubtitleInfo? get_current_subtitle_track ();
+               public Gst.PlayerVideoInfo? get_current_video_track ();
+               public string? get_current_visualization ();
                public Gst.ClockTime get_duration ();
                public Gst.PlayerMediaInfo get_media_info ();
                [Version (since = "1.10")]
@@ -39,12 +39,12 @@ namespace Gst {
                public Gst.ClockTime get_position ();
                public double get_rate ();
                public static unowned GLib.List<Gst.PlayerSubtitleInfo> get_subtitle_streams (Gst.PlayerMediaInfo info);
-               public string get_subtitle_uri ();
+               public string? get_subtitle_uri ();
                [Version (since = "1.16")]
                public int64 get_subtitle_video_offset ();
-               public string get_uri ();
+               public string? get_uri ();
                [Version (since = "1.12")]
-               public Gst.Sample get_video_snapshot (Gst.PlayerSnapshotFormat format, Gst.Structure? config);
+               public Gst.Sample? get_video_snapshot (Gst.PlayerSnapshotFormat format, Gst.Structure? config);
                public static unowned GLib.List<Gst.PlayerVideoInfo> get_video_streams (Gst.PlayerMediaInfo info);
                public double get_volume ();
                public bool has_color_balance ();
index e321098e0d17528f636d0c915cab9912583dbab1..d6c501ab0a0b928e766f29b2cf4bb07593996339 100644 (file)
@@ -424,7 +424,7 @@ namespace Gst {
                        public void set_wants_update_non_rtp_src_caps (bool state);
                        public virtual bool update_non_rtp_src_caps (Gst.Caps caps);
                        public bool wants_update_non_rtp_src_caps ();
-                       public virtual size_t write (Gst.Buffer input_meta, Gst.RTP.HeaderExtensionFlags write_flags, Gst.Buffer output, [CCode (array_length_cname = "size", array_length_pos = 4.1, array_length_type = "gsize")] uint8[] data);
+                       public virtual ssize_t write (Gst.Buffer input_meta, Gst.RTP.HeaderExtensionFlags write_flags, Gst.Buffer output, [CCode (array_length_cname = "size", array_length_pos = 4.1, array_length_type = "gsize")] uint8[] data);
                }
                [CCode (cheader_filename = "gst/rtp/rtp.h", has_type_id = false)]
                [GIR (name = "RTPBuffer")]