]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 29 Dec 2016 13:15:50 +0000 (14:15 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 29 Dec 2016 13:15:50 +0000 (14:15 +0100)
vapi/gstreamer-audio-1.0.vapi
vapi/gstreamer-pbutils-1.0.vapi
vapi/gstreamer-player-1.0.vapi

index 8dd81997b666eab5c28ac26a62897257f1e2bc76..19438a20514e2fe8a37b714a6492b0f0f89df5d9 100644 (file)
@@ -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);
index 65ae9bbe86431caccd2639e9611956178328de5f..e98bc958752eb05d00d207ce25fd2f2516d44f31 100644 (file)
@@ -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")]
index 98e47b9fdcd786b8e33a006230906a4ec8c514b0..5fa0de36a2c42ff2b3f41d23c37b4d8dd744fd98 100644 (file)
@@ -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 ();
        }