[vala] vapi: Update GIR-based bindings



commit 11789c6f44a311445200bf1191eec17d3056d677
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Dec 29 14:15:50 2016 +0100

    vapi: Update GIR-based bindings

 vapi/gstreamer-audio-1.0.vapi   |    3 ++-
 vapi/gstreamer-pbutils-1.0.vapi |    2 ++
 vapi/gstreamer-player-1.0.vapi  |   14 +++++++++++---
 3 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 8dd8199..19438a2 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -377,7 +377,8 @@ namespace Gst {
                        [NoWrapper]
                        public virtual bool resume ();
                        public uint64 samples_done ();
-                       public void set_callback ([CCode (scope = "async")] Gst.Audio.RingBufferCallback cb);
+                       [Version (since = "1.12")]
+                       public void set_callback_full (owned Gst.Audio.RingBufferCallback? cb);
                        public void set_channel_positions (Gst.Audio.ChannelPosition position);
                        public void set_flushing (bool flushing);
                        public void set_sample (uint64 sample);
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index 65ae9bb..e98bc95 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -308,6 +308,8 @@ namespace Gst {
                public const string ENCODING_CATEGORY_CAPTURE;
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GST_ENCODING_CATEGORY_DEVICE")]
                public const string ENCODING_CATEGORY_DEVICE;
+               [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"GST_ENCODING_CATEGORY_FILE_EXTENSION")]
+               public const string ENCODING_CATEGORY_FILE_EXTENSION;
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"GST_ENCODING_CATEGORY_ONLINE_SERVICE")]
                public const string ENCODING_CATEGORY_ONLINE_SERVICE;
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"GST_ENCODING_CATEGORY_STORAGE_EDITING")]
diff --git a/vapi/gstreamer-player-1.0.vapi b/vapi/gstreamer-player-1.0.vapi
index 98e47b9..5fa0de3 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 ();
        }


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