[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: Tue, 21 Sep 2021 06:02:53 +0000 (UTC)
commit 2826ada7f184533ddd088a7b34c78576591832cc
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Sep 21 07:59:50 2021 +0200
gstreamer: Update from 1.19.0+ git master
vapi/gstreamer-play-1.0.vapi | 10 +++++-----
vapi/gstreamer-player-1.0.vapi | 14 +++++++-------
vapi/gstreamer-rtp-1.0.vapi | 2 +-
3 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/vapi/gstreamer-play-1.0.vapi b/vapi/gstreamer-play-1.0.vapi
index 65be184ce..f222736a6 100644
--- a/vapi/gstreamer-play-1.0.vapi
+++ b/vapi/gstreamer-play-1.0.vapi
@@ -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 ();
diff --git a/vapi/gstreamer-player-1.0.vapi b/vapi/gstreamer-player-1.0.vapi
index e05295add..d1095275a 100644
--- a/vapi/gstreamer-player-1.0.vapi
+++ b/vapi/gstreamer-player-1.0.vapi
@@ -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 ();
diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi
index e321098e0..d6c501ab0 100644
--- a/vapi/gstreamer-rtp-1.0.vapi
+++ b/vapi/gstreamer-rtp-1.0.vapi
@@ -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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]