[vala] gstreamer-check-0.10: Update bindings



commit 4d87a77f7f1bf346f01e347b0cd6b375d72172b1
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Tue Apr 7 18:06:10 2009 +0200

    gstreamer-check-0.10: Update bindings
---
 vapi/gstreamer-check-0.10.vapi                     |   20 +++++++-
 .../gstreamer-check-0.10/gstreamer-check-0.10.gi   |   50 ++++++++++++++++++++
 .../gstreamer-check-0.10.metadata                  |    1 +
 3 files changed, 68 insertions(+), 3 deletions(-)

diff --git a/vapi/gstreamer-check-0.10.vapi b/vapi/gstreamer-check-0.10.vapi
index 397b43c..27bc701 100644
--- a/vapi/gstreamer-check-0.10.vapi
+++ b/vapi/gstreamer-check-0.10.vapi
@@ -18,22 +18,36 @@ namespace Gst {
 	[CCode (cheader_filename = "gst/gst.h")]
 	public static void check_abi_list (Gst.CheckABIStruct[] list, bool have_abi_sizes);
 	[CCode (cheader_filename = "gst/gst.h")]
+	public static void check_caps_equal (Gst.Caps caps1, Gst.Caps caps2);
+	[CCode (cheader_filename = "gst/gst.h")]
 	public static Gst.FlowReturn check_chain_func (Gst.Pad pad, Gst.Buffer buffer);
 	[CCode (cheader_filename = "gst/gst.h")]
+	public static void check_drop_buffers ();
+	[CCode (cheader_filename = "gst/gst.h")]
+	public static void check_element_push_buffer (string element_name, Gst.Buffer buffer_in, Gst.Buffer buffer_out);
+	[CCode (cheader_filename = "gst/gst.h")]
+	public static void check_element_push_buffer_list (string element_name, GLib.List buffer_in, GLib.List buffer_out, Gst.FlowReturn last_flow_return);
+	[CCode (cheader_filename = "gst/gst.h")]
 	public static void check_init (int argc, string argv);
 	[CCode (cheader_filename = "gst/gst.h")]
 	public static void check_message_error (Gst.Message message, Gst.MessageType type, GLib.Quark domain, int code);
 	[CCode (cheader_filename = "gst/gst.h")]
 	public static int check_run_suite (void* suite, string name, string fname);
 	[CCode (cheader_filename = "gst/gst.h")]
-	public static unowned Gst.Element check_setup_element (string factory);
+	public static Gst.Element check_setup_element (string factory);
 	[CCode (cheader_filename = "gst/gst.h")]
-	public static unowned Gst.Pad check_setup_sink_pad (Gst.Element element, Gst.StaticPadTemplate template, Gst.Caps caps);
+	public static Gst.Pad check_setup_sink_pad (Gst.Element element, Gst.StaticPadTemplate template, Gst.Caps caps);
 	[CCode (cheader_filename = "gst/gst.h")]
-	public static unowned Gst.Pad check_setup_src_pad (Gst.Element element, Gst.StaticPadTemplate template, Gst.Caps caps);
+	public static Gst.Pad check_setup_sink_pad_by_name (Gst.Element element, Gst.StaticPadTemplate template, string name);
+	[CCode (cheader_filename = "gst/gst.h")]
+	public static Gst.Pad check_setup_src_pad (Gst.Element element, Gst.StaticPadTemplate template, Gst.Caps caps);
+	[CCode (cheader_filename = "gst/gst.h")]
+	public static Gst.Pad check_setup_src_pad_by_name (Gst.Element element, Gst.StaticPadTemplate template, string name);
 	[CCode (cheader_filename = "gst/gst.h")]
 	public static void check_teardown_element (Gst.Element element);
 	[CCode (cheader_filename = "gst/gst.h")]
+	public static void check_teardown_pad_by_name (Gst.Element element, string name);
+	[CCode (cheader_filename = "gst/gst.h")]
 	public static void check_teardown_sink_pad (Gst.Element element);
 	[CCode (cheader_filename = "gst/gst.h")]
 	public static void check_teardown_src_pad (Gst.Element element);
diff --git a/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.gi b/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.gi
index d7a64af..0f8b091 100644
--- a/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.gi
+++ b/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.gi
@@ -29,6 +29,13 @@
 				<parameter name="have_abi_sizes" type="gboolean"/>
 			</parameters>
 		</function>
+		<function name="check_caps_equal" symbol="gst_check_caps_equal">
+			<return-type type="void"/>
+			<parameters>
+				<parameter name="caps1" type="GstCaps*"/>
+				<parameter name="caps2" type="GstCaps*"/>
+			</parameters>
+		</function>
 		<function name="check_chain_func" symbol="gst_check_chain_func">
 			<return-type type="GstFlowReturn"/>
 			<parameters>
@@ -36,6 +43,26 @@
 				<parameter name="buffer" type="GstBuffer*"/>
 			</parameters>
 		</function>
+		<function name="check_drop_buffers" symbol="gst_check_drop_buffers">
+			<return-type type="void"/>
+		</function>
+		<function name="check_element_push_buffer" symbol="gst_check_element_push_buffer">
+			<return-type type="void"/>
+			<parameters>
+				<parameter name="element_name" type="gchar*"/>
+				<parameter name="buffer_in" type="GstBuffer*"/>
+				<parameter name="buffer_out" type="GstBuffer*"/>
+			</parameters>
+		</function>
+		<function name="check_element_push_buffer_list" symbol="gst_check_element_push_buffer_list">
+			<return-type type="void"/>
+			<parameters>
+				<parameter name="element_name" type="gchar*"/>
+				<parameter name="buffer_in" type="GList*"/>
+				<parameter name="buffer_out" type="GList*"/>
+				<parameter name="last_flow_return" type="GstFlowReturn"/>
+			</parameters>
+		</function>
 		<function name="check_init" symbol="gst_check_init">
 			<return-type type="void"/>
 			<parameters>
@@ -74,6 +101,14 @@
 				<parameter name="caps" type="GstCaps*"/>
 			</parameters>
 		</function>
+		<function name="check_setup_sink_pad_by_name" symbol="gst_check_setup_sink_pad_by_name">
+			<return-type type="GstPad*"/>
+			<parameters>
+				<parameter name="element" type="GstElement*"/>
+				<parameter name="template" type="GstStaticPadTemplate*"/>
+				<parameter name="name" type="gchar*"/>
+			</parameters>
+		</function>
 		<function name="check_setup_src_pad" symbol="gst_check_setup_src_pad">
 			<return-type type="GstPad*"/>
 			<parameters>
@@ -82,12 +117,27 @@
 				<parameter name="caps" type="GstCaps*"/>
 			</parameters>
 		</function>
+		<function name="check_setup_src_pad_by_name" symbol="gst_check_setup_src_pad_by_name">
+			<return-type type="GstPad*"/>
+			<parameters>
+				<parameter name="element" type="GstElement*"/>
+				<parameter name="template" type="GstStaticPadTemplate*"/>
+				<parameter name="name" type="gchar*"/>
+			</parameters>
+		</function>
 		<function name="check_teardown_element" symbol="gst_check_teardown_element">
 			<return-type type="void"/>
 			<parameters>
 				<parameter name="element" type="GstElement*"/>
 			</parameters>
 		</function>
+		<function name="check_teardown_pad_by_name" symbol="gst_check_teardown_pad_by_name">
+			<return-type type="void"/>
+			<parameters>
+				<parameter name="element" type="GstElement*"/>
+				<parameter name="name" type="gchar*"/>
+			</parameters>
+		</function>
 		<function name="check_teardown_sink_pad" symbol="gst_check_teardown_sink_pad">
 			<return-type type="void"/>
 			<parameters>
diff --git a/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.metadata b/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.metadata
index 1dd5c33..b12a816 100644
--- a/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.metadata
+++ b/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.metadata
@@ -1,2 +1,3 @@
 Gst cprefix="Gst" lower_case_cprefix="gst_" cheader_filename="gst/gst.h"
 Suite name="pointer"
+gst_check_setup_* transfer_ownership="1"



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