[vala/staging] gstreamer-base-1.0: Some parameter fixes



commit 176ffbf243a9de531e29cc676b6456672a3606ec
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Nov 23 12:49:16 2021 +0100

    gstreamer-base-1.0: Some parameter fixes

 vapi/gstreamer-base-1.0.vapi       | 8 ++++----
 vapi/metadata/GstBase-1.0.metadata | 8 ++++++++
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index dc085b193..0fed6e130 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -522,7 +522,7 @@ namespace Gst {
                        protected Parse ();
                        public bool add_index_entry (uint64 offset, Gst.ClockTime ts, bool key, bool force);
                        [NoWrapper]
-                       public virtual bool convert (Gst.Format src_format, int64 src_value, Gst.Format 
dest_format, int64 dest_value);
+                       public virtual bool convert (Gst.Format src_format, int64 src_value, Gst.Format 
dest_format, out int64 dest_value);
                        public bool convert_default (Gst.Format src_format, int64 src_value, Gst.Format 
dest_format, out int64 dest_value);
                        [NoWrapper]
                        public virtual Gst.FlowReturn detect (Gst.Buffer buffer);
@@ -532,7 +532,7 @@ namespace Gst {
                        [NoWrapper]
                        public virtual Gst.Caps get_sink_caps (Gst.Caps filter);
                        [NoWrapper]
-                       public virtual Gst.FlowReturn handle_frame (Gst.Base.ParseFrame frame, int skipsize);
+                       public virtual Gst.FlowReturn handle_frame (Gst.Base.ParseFrame frame, out int 
skipsize);
                        [Version (since = "1.6")]
                        public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
                        [NoWrapper]
@@ -638,7 +638,7 @@ namespace Gst {
                        public bool get_sync ();
                        public uint64 get_throttle_time ();
                        [NoWrapper]
-                       public virtual void get_times (Gst.Buffer buffer, Gst.ClockTime start, Gst.ClockTime 
end);
+                       public virtual void get_times (Gst.Buffer buffer, out Gst.ClockTime start, out 
Gst.ClockTime end);
                        public Gst.ClockTimeDiff get_ts_offset ();
                        public bool is_async_enabled ();
                        public bool is_last_sample_enabled ();
@@ -899,7 +899,7 @@ namespace Gst {
                        [CCode (cname = "gst_bit_writer_put_bits_uint8")]
                        public bool put_bits_uint8 (uint8 value, uint nbits);
                        [CCode (cname = "gst_bit_writer_put_bytes")]
-                       public bool put_bytes (uint8 data, uint nbytes);
+                       public bool put_bytes ([CCode (array_length_cname = "nbytes", array_length_pos = 1.1, 
array_length_type = "guint", type = "const guint8*")] uint8[] data);
                        [CCode (cname = "gst_bit_writer_reset")]
                        public void reset ();
                        [CCode (cname = "gst_bit_writer_reset_and_get_buffer")]
diff --git a/vapi/metadata/GstBase-1.0.metadata b/vapi/metadata/GstBase-1.0.metadata
index 504cb31d1..c582eb85b 100644
--- a/vapi/metadata/GstBase-1.0.metadata
+++ b/vapi/metadata/GstBase-1.0.metadata
@@ -19,6 +19,14 @@ ByteReader struct=false
 Adapter
   .map skip
   .take skip
+BaseParse
+  .convert.dest_value out
+  .handle_frame.skipsize out
+BaseSink
+  .get_times.start out
+  .get_times.end out
+BitWriter
+  .put_bytes.data array array_length_idx=1
 
 // Backwards compatibility
 Adapter


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