diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-11-29 12:41:18 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-11-29 12:41:18 +0100 |
commit | 359774c0d9d4c8941f0d7a6e063ad0b549a0ad6d (patch) | |
tree | c295c1eca9fb79b7cd5469e9038311ee72d0b06c | |
parent | 60fe7a7d7e68f032f14c65ceabd8b5ad37838b53 (diff) | |
download | vala-359774c0d9d4c8941f0d7a6e063ad0b549a0ad6d.tar.gz |
vapi: Update GIR-based bindings
-rw-r--r-- | vapi/gstreamer-1.0.vapi | 3 | ||||
-rw-r--r-- | vapi/gstreamer-audio-1.0.vapi | 1 | ||||
-rw-r--r-- | 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 865793d73..48d01069d 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 73c24025d..e519f3a69 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 2d4b0d3f9..794cce3b5 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 ()")] |