[vala/0.8] gstreamer: Fix Gst.Pad.query_* bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.8] gstreamer: Fix Gst.Pad.query_* bindings
- Date: Tue, 11 May 2010 09:22:33 +0000 (UTC)
commit 0027717e8ef8add4e65ccc9914ab86c2fb918fb3
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Fri Apr 30 19:12:19 2010 +1000
gstreamer: Fix Gst.Pad.query_* bindings
vapi/gstreamer-0.10.vapi | 12 ++++++------
.../gstreamer-0.10/gstreamer-0.10.metadata | 12 ++++++++++++
2 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 140b07e..0f43f54 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -850,13 +850,13 @@ namespace Gst {
public bool push_event (owned Gst.Event event);
public Gst.FlowReturn push_list (Gst.BufferList list);
public bool query (Gst.Query query);
- public bool query_convert (Gst.Format src_format, int64 src_val, Gst.Format dest_format, int64 dest_val);
+ public bool query_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
public bool query_default (Gst.Query query);
- public bool query_duration (Gst.Format format, int64 duration);
- public bool query_peer_convert (Gst.Format src_format, int64 src_val, Gst.Format dest_format, int64 dest_val);
- public bool query_peer_duration (Gst.Format format, int64 duration);
- public bool query_peer_position (Gst.Format format, int64 cur);
- public bool query_position (Gst.Format format, int64 cur);
+ public bool query_duration (ref Gst.Format format, out int64 duration);
+ public bool query_peer_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
+ public bool query_peer_duration (ref Gst.Format format, out int64 duration);
+ public bool query_peer_position (ref Gst.Format format, out int64 cur);
+ public bool query_position (ref Gst.Format format, out int64 cur);
public void remove_buffer_probe (uint handler_id);
public void remove_data_probe (uint handler_id);
public void remove_event_probe (uint handler_id);
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 406f119..8eb28fa 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -222,6 +222,18 @@ gst_pad_new hidden="1"
gst_pad_peer_get_caps transfer_ownership="1"
gst_pad_push.buffer takes_ownership="1"
gst_pad_push_event.event takes_ownership="1"
+gst_pad_query_convert.dest_format is_ref="1"
+gst_pad_query_convert.dest_val is_out="1"
+gst_pad_query_duration.format is_ref="1"
+gst_pad_query_duration.duration is_out="1"
+gst_pad_query_peer_convert.dest_format is_ref="1"
+gst_pad_query_peer_convert.dest_val is_out="1"
+gst_pad_query_peer_duration.format is_ref="1"
+gst_pad_query_peer_duration.duration is_out="1"
+gst_pad_query_peer_position.format is_ref="1"
+gst_pad_query_peer_position.cur is_out="1"
+gst_pad_query_position.format is_ref="1"
+gst_pad_query_position.cur is_out="1"
gst_pad_send_event.event takes_ownership="1"
gst_pad_set_query_type_function hidden="1"
gst_pad_set_caps.caps nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]