[vala] vapi: Update GIR-based bindings



commit 359774c0d9d4c8941f0d7a6e063ad0b549a0ad6d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Nov 29 12:41:18 2016 +0100

    vapi: Update GIR-based bindings

 vapi/gstreamer-1.0.vapi       |    3 +++
 vapi/gstreamer-audio-1.0.vapi |    1 +
 vapi/gstreamer-video-1.0.vapi |    4 ++--
 3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 865793d..48d0106 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -3881,6 +3881,9 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h", cname = "GST_VERSION_NANO")]
        public const int VERSION_NANO;
        [CCode (cheader_filename = "gst/gst.h")]
+       [Version (since = "1.12")]
+       public static bool calculate_linear_regression (Gst.ClockTime xy, Gst.ClockTime temp, uint n, out 
Gst.ClockTime m_num, out Gst.ClockTime m_denom, out Gst.ClockTime b, out Gst.ClockTime xbase, out double 
r_squared);
+       [CCode (cheader_filename = "gst/gst.h")]
        public static void deinit ();
        [CCode (cheader_filename = "gst/gst.h")]
        public static bool dynamic_type_register (Gst.Plugin plugin, GLib.Type type);
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 73c2402..e519f3a 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -114,6 +114,7 @@ namespace Gst {
                        public size_t get_out_frames (size_t in_frames);
                        public void reset ();
                        public bool samples (Gst.Audio.ConverterFlags flags, void* @in, size_t in_frames, 
void* @out, size_t out_frames);
+                       public bool supports_inplace ();
                        public bool update_config (int in_rate, int out_rate, owned Gst.Structure? config);
                }
                [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_decoder_get_type ()")]
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 2d4b0d3..794cce3 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -267,7 +267,7 @@ namespace Gst {
                        [CCode (has_construct_function = false)]
                        [Version (since = "1.6")]
                        public Info ();
-                       public void align (Gst.Video.Alignment align);
+                       public bool align (Gst.Video.Alignment align);
                        public bool convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, 
int64 dest_value);
                        [Version (since = "1.6")]
                        public Gst.Video.Info copy ();
@@ -276,7 +276,7 @@ namespace Gst {
                        public bool from_caps (Gst.Caps caps);
                        public void init ();
                        public bool is_equal (Gst.Video.Info other);
-                       public void set_format (Gst.Video.Format format, uint width, uint height);
+                       public bool set_format (Gst.Video.Format format, uint width, uint height);
                        public Gst.Caps to_caps ();
                }
                [CCode (cheader_filename = "gst/video/video.h", lower_case_cprefix = 
"gst_video_multiview_flagset_", type_id = "gst_video_multiview_flagset_get_type ()")]


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