[vala] gstreamer-video-0.10: Update bindings



commit 5e93099bd9329d9eb3107cbbc0b4d1ea49456423
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Tue Apr 7 18:50:25 2009 +0200

    gstreamer-video-0.10: Update bindings
---
 vapi/gstreamer-video-0.10.vapi                     |   10 ++++++--
 .../gstreamer-video-0.10/gstreamer-video-0.10.gi   |   22 +++++++++++++++++++-
 .../gstreamer-video-0.10.metadata                  |    2 +
 3 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/vapi/gstreamer-video-0.10.vapi b/vapi/gstreamer-video-0.10.vapi
index 0fa809c..22c162e 100644
--- a/vapi/gstreamer-video-0.10.vapi
+++ b/vapi/gstreamer-video-0.10.vapi
@@ -1,4 +1,4 @@
-/* gstreamer-video-0.10.vapi generated by lt-vapigen, do not modify. */
+/* gstreamer-video-0.10.vapi generated by vapigen, do not modify. */
 
 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
 namespace Gst {
@@ -124,7 +124,7 @@ namespace Gst {
 		public int width;
 		public static void center_rect (Gst.VideoRectangle src, Gst.VideoRectangle dst, Gst.VideoRectangle _result, bool scaling);
 	}
-	[CCode (cprefix = "GST_VIDEO_FORMAT_", has_type_id = "0", cheader_filename = "gst/video/video.h")]
+	[CCode (cprefix = "GST_VIDEO_FORMAT_", cheader_filename = "gst/video/video.h")]
 	public enum VideoFormat {
 		UNKNOWN,
 		I420,
@@ -170,10 +170,14 @@ namespace Gst {
 	[CCode (cheader_filename = "gst/video/video.h")]
 	public static bool video_format_is_yuv (Gst.VideoFormat format);
 	[CCode (cheader_filename = "gst/video/video.h")]
-	public static unowned Gst.Caps video_format_new_caps (Gst.VideoFormat format, int width, int height, int framerate_n, int framerate_d, int par_n, int par_d);
+	public static Gst.Caps video_format_new_caps (Gst.VideoFormat format, int width, int height, int framerate_n, int framerate_d, int par_n, int par_d);
+	[CCode (cheader_filename = "gst/video/video.h")]
+	public static Gst.Caps video_format_new_caps_interlaced (Gst.VideoFormat format, int width, int height, int framerate_n, int framerate_d, int par_n, int par_d, bool interlaced);
 	[CCode (cheader_filename = "gst/video/video.h")]
 	public static bool video_format_parse_caps (Gst.Caps caps, ref Gst.VideoFormat format, ref int width, ref int height);
 	[CCode (cheader_filename = "gst/video/video.h")]
+	public static bool video_format_parse_caps_interlaced (Gst.Caps caps, bool interlaced);
+	[CCode (cheader_filename = "gst/video/video.h")]
 	public static uint32 video_format_to_fourcc (Gst.VideoFormat format);
 	[CCode (cheader_filename = "gst/video/video.h")]
 	public static Gst.Value video_frame_rate (Gst.Pad pad);
diff --git a/vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.gi b/vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.gi
index 05b7bbc..606a20c 100644
--- a/vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.gi
+++ b/vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.gi
@@ -112,6 +112,19 @@
 				<parameter name="par_d" type="int"/>
 			</parameters>
 		</function>
+		<function name="video_format_new_caps_interlaced" symbol="gst_video_format_new_caps_interlaced">
+			<return-type type="GstCaps*"/>
+			<parameters>
+				<parameter name="format" type="GstVideoFormat"/>
+				<parameter name="width" type="int"/>
+				<parameter name="height" type="int"/>
+				<parameter name="framerate_n" type="int"/>
+				<parameter name="framerate_d" type="int"/>
+				<parameter name="par_n" type="int"/>
+				<parameter name="par_d" type="int"/>
+				<parameter name="interlaced" type="gboolean"/>
+			</parameters>
+		</function>
 		<function name="video_format_parse_caps" symbol="gst_video_format_parse_caps">
 			<return-type type="gboolean"/>
 			<parameters>
@@ -121,6 +134,13 @@
 				<parameter name="height" type="int*"/>
 			</parameters>
 		</function>
+		<function name="video_format_parse_caps_interlaced" symbol="gst_video_format_parse_caps_interlaced">
+			<return-type type="gboolean"/>
+			<parameters>
+				<parameter name="caps" type="GstCaps*"/>
+				<parameter name="interlaced" type="gboolean*"/>
+			</parameters>
+		</function>
 		<function name="video_format_to_fourcc" symbol="gst_video_format_to_fourcc">
 			<return-type type="guint32"/>
 			<parameters>
@@ -163,7 +183,7 @@
 			<field name="w" type="gint"/>
 			<field name="h" type="gint"/>
 		</struct>
-		<enum name="GstVideoFormat">
+		<enum name="GstVideoFormat" type-name="GstVideoFormat" get-type="gst_video_format_get_type">
 			<member name="GST_VIDEO_FORMAT_UNKNOWN" value="0"/>
 			<member name="GST_VIDEO_FORMAT_I420" value="1"/>
 			<member name="GST_VIDEO_FORMAT_YV12" value="2"/>
diff --git a/vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.metadata b/vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.metadata
index 0b01a08..65308be 100644
--- a/vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.metadata
+++ b/vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.metadata
@@ -8,6 +8,8 @@ gst_video_format_convert.dest_value is_ref="1"
 gst_video_format_get_*.component is_ref="1"
 gst_video_format_get_*.width is_ref="1"
 gst_video_format_get_*.height is_ref="1"
+gst_video_format_new_caps_interlaced transfer_ownership="1"
+gst_video_format_new_caps transfer_ownership="1"
 gst_video_format_parse_caps.format is_ref="1"
 gst_video_format_parse_caps.width is_ref="1"
 gst_video_format_parse_caps.height is_ref="1"



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