diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-12-29 14:15:50 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-12-29 14:15:50 +0100 |
commit | 11789c6f44a311445200bf1191eec17d3056d677 (patch) | |
tree | 758a7b2c8d9e8234c114532f156d8f5e68cb154c /vapi/gstreamer-player-1.0.vapi | |
parent | 28fcae998ccb0b105a52c89c74bae95398e8e749 (diff) | |
download | vala-11789c6f44a311445200bf1191eec17d3056d677.tar.gz |
vapi: Update GIR-based bindings
Diffstat (limited to 'vapi/gstreamer-player-1.0.vapi')
-rw-r--r-- | vapi/gstreamer-player-1.0.vapi | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/vapi/gstreamer-player-1.0.vapi b/vapi/gstreamer-player-1.0.vapi index 98e47b9fd..5fa0de36a 100644 --- a/vapi/gstreamer-player-1.0.vapi +++ b/vapi/gstreamer-player-1.0.vapi @@ -13,7 +13,6 @@ namespace Gst { [Version (since = "1.12")] public void config_set_seek_accurate (bool accurate); public static void config_set_user_agent (Gst.Structure config, string agent); - public static unowned GLib.List<Gst.PlayerAudioInfo> get_audio_streams (Gst.PlayerMediaInfo info); public int64 get_audio_video_offset (); public double get_color_balance (Gst.PlayerColorBalanceType type); public Gst.Structure get_config (); @@ -31,10 +30,8 @@ namespace Gst { public Gst.Element get_pipeline (); 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_uri (); - public static unowned GLib.List<Gst.PlayerVideoInfo> get_video_streams (Gst.PlayerMediaInfo info); public double get_volume (); public bool has_color_balance (); public void pause (); @@ -119,13 +116,24 @@ namespace Gst { public class PlayerMediaInfo : GLib.Object { [CCode (has_construct_function = false)] protected PlayerMediaInfo (); + public unowned GLib.List<Gst.PlayerAudioInfo> get_audio_streams (); public unowned string get_container_format (); public Gst.ClockTime get_duration (); public unowned Gst.Sample get_image_sample (); + [Version (since = "1.12")] + public uint get_number_of_audio_streams (); + [Version (since = "1.12")] + public uint get_number_of_streams (); + [Version (since = "1.12")] + public uint get_number_of_subtitle_streams (); + [Version (since = "1.12")] + public uint get_number_of_video_streams (); public unowned GLib.List<Gst.PlayerStreamInfo> get_stream_list (); + public unowned GLib.List<Gst.PlayerSubtitleInfo> get_subtitle_streams (); public unowned Gst.TagList get_tags (); public unowned string get_title (); public unowned string get_uri (); + public unowned GLib.List<Gst.PlayerVideoInfo> get_video_streams (); public bool is_live (); public bool is_seekable (); } |