[vala] gstreamer: Fix Gst.Pad.query_* bindings
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer: Fix Gst.Pad.query_* bindings
- Date: Mon, 10 May 2010 15:15:31 +0000 (UTC)
commit c9a702f1cc0e4a924f98c7d60eb53df5668fa228
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 bfe4966..af691ee 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -871,13 +871,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 09715ba..0e2604b 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -363,6 +363,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]