[vala/0.6] gstreamer-tag-0.10: Update bindings



commit b3c0574ffbed546a6456af0550a6b630f8be0afe
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Tue Apr 7 18:46:14 2009 +0200

    gstreamer-tag-0.10: Update bindings
---
 vapi/gstreamer-tag-0.10.vapi                       |   27 +++++++++++--------
 .../gstreamer-tag-0.10/gstreamer-tag-0.10.gi       |   22 ++++++++++++++-
 .../gstreamer-tag-0.10/gstreamer-tag-0.10.metadata |   13 +++++++++
 3 files changed, 49 insertions(+), 13 deletions(-)

diff --git a/vapi/gstreamer-tag-0.10.vapi b/vapi/gstreamer-tag-0.10.vapi
index 36cd355..08d2878 100644
--- a/vapi/gstreamer-tag-0.10.vapi
+++ b/vapi/gstreamer-tag-0.10.vapi
@@ -1,4 +1,4 @@
-/* gstreamer-tag-0.10.vapi generated by lt-vapigen, do not modify. */
+/* gstreamer-tag-0.10.vapi generated by vapigen, do not modify. */
 
 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
 namespace Gst {
@@ -6,20 +6,21 @@ namespace Gst {
 	public class TagDemux : Gst.Element {
 		public void* reserved;
 		[NoWrapper]
-		public virtual bool identify_tag (Gst.Buffer buffer, bool start_tag, uint tag_size);
+		public virtual bool identify_tag (Gst.Buffer buffer, bool start_tag, out uint tag_size);
 		[NoWrapper]
 		public virtual unowned Gst.TagList merge_tags (Gst.TagList start_tags, Gst.TagList end_tags);
 		[NoWrapper]
-		public virtual Gst.TagDemuxResult parse_tag (Gst.Buffer buffer, bool start_tag, uint tag_size, out unowned Gst.TagList tags);
+		public virtual Gst.TagDemuxResult parse_tag (Gst.Buffer buffer, bool start_tag, out uint tag_size, out Gst.TagList tags);
 	}
-	[CCode (cprefix = "GST_TAG_DEMUX_RESULT_", has_type_id = "0", cheader_filename = "gst/tag/gsttagdemux.h")]
+	[CCode (cprefix = "GST_TAG_DEMUX_RESULT_", cheader_filename = "gst/tag/gsttagdemux.h")]
 	public enum TagDemuxResult {
 		BROKEN_TAG,
 		AGAIN,
 		OK
 	}
-	[CCode (cprefix = "GST_TAG_IMAGE_TYPE_", has_type_id = "0", cheader_filename = "gst/tag/tag.h")]
+	[CCode (cprefix = "GST_TAG_IMAGE_TYPE_", cheader_filename = "gst/tag/tag.h")]
 	public enum TagImageType {
+		NONE,
 		UNDEFINED,
 		FRONT_COVER,
 		BACK_COVER,
@@ -65,7 +66,7 @@ namespace Gst {
 	[CCode (cheader_filename = "gst/tag/tag.h")]
 	public const string TAG_MUSICBRAINZ_TRMID;
 	[CCode (cheader_filename = "gst/tag/tag.h")]
-	public static unowned string tag_freeform_string_to_utf8 (string data, int size, string env_vars);
+	public static string tag_freeform_string_to_utf8 (string data, int size, string env_vars);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
 	public static unowned string tag_from_id3_tag (string id3_tag);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
@@ -77,19 +78,23 @@ namespace Gst {
 	[CCode (cheader_filename = "gst/tag/tag.h")]
 	public static unowned string tag_id3_genre_get (uint id);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
-	public static unowned Gst.TagList tag_list_from_vorbiscomment_buffer (Gst.Buffer buffer, uchar id_data, uint id_data_length, string vendor_string);
+	public static Gst.Buffer tag_image_data_to_image_buffer (uchar image_data, uint image_data_len, Gst.TagImageType image_type);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
-	public static unowned Gst.TagList tag_list_new_from_id3v1 (uchar data);
+	public static bool tag_list_add_id3_image (Gst.TagList tag_list, uchar image_data, uint image_data_len, uint id3_picture_type);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
-	public static unowned Gst.Buffer tag_list_to_vorbiscomment_buffer (Gst.TagList list, uchar id_data, uint id_data_length, string vendor_string);
+	public static Gst.TagList tag_list_from_vorbiscomment_buffer (Gst.Buffer buffer, uchar id_data, uint id_data_length, out string vendor_string);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
-	public static bool tag_parse_extended_comment (string ext_comment, string key, string lang, string value, bool fail_if_no_key);
+	public static Gst.TagList tag_list_new_from_id3v1 (uchar data);
+	[CCode (cheader_filename = "gst/tag/tag.h")]
+	public static Gst.Buffer tag_list_to_vorbiscomment_buffer (Gst.TagList list, uchar id_data, uint id_data_length, string vendor_string);
+	[CCode (cheader_filename = "gst/tag/tag.h")]
+	public static bool tag_parse_extended_comment (string ext_comment, out string key, out string lang, out string value, bool fail_if_no_key);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
 	public static void tag_register_musicbrainz_tags ();
 	[CCode (cheader_filename = "gst/tag/tag.h")]
 	public static unowned string tag_to_id3_tag (string gst_tag);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
-	public static unowned GLib.List tag_to_vorbis_comments (Gst.TagList list, string tag);
+	public static GLib.List tag_to_vorbis_comments (Gst.TagList list, string tag);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
 	public static unowned string tag_to_vorbis_tag (string gst_tag);
 	[CCode (cheader_filename = "gst/tag/tag.h")]
diff --git a/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.gi b/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.gi
index b9d2958..d19d080 100644
--- a/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.gi
+++ b/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.gi
@@ -37,6 +37,23 @@
 				<parameter name="id" type="guint"/>
 			</parameters>
 		</function>
+		<function name="tag_image_data_to_image_buffer" symbol="gst_tag_image_data_to_image_buffer">
+			<return-type type="GstBuffer*"/>
+			<parameters>
+				<parameter name="image_data" type="guint8*"/>
+				<parameter name="image_data_len" type="guint"/>
+				<parameter name="image_type" type="GstTagImageType"/>
+			</parameters>
+		</function>
+		<function name="tag_list_add_id3_image" symbol="gst_tag_list_add_id3_image">
+			<return-type type="gboolean"/>
+			<parameters>
+				<parameter name="tag_list" type="GstTagList*"/>
+				<parameter name="image_data" type="guint8*"/>
+				<parameter name="image_data_len" type="guint"/>
+				<parameter name="id3_picture_type" type="guint"/>
+			</parameters>
+		</function>
 		<function name="tag_list_from_vorbiscomment_buffer" symbol="gst_tag_list_from_vorbiscomment_buffer">
 			<return-type type="GstTagList*"/>
 			<parameters>
@@ -101,12 +118,13 @@
 				<parameter name="value" type="gchar*"/>
 			</parameters>
 		</function>
-		<enum name="GstTagDemuxResult">
+		<enum name="GstTagDemuxResult" type-name="GstTagDemuxResult" get-type="gst_tag_demux_result_get_type">
 			<member name="GST_TAG_DEMUX_RESULT_BROKEN_TAG" value="0"/>
 			<member name="GST_TAG_DEMUX_RESULT_AGAIN" value="1"/>
 			<member name="GST_TAG_DEMUX_RESULT_OK" value="2"/>
 		</enum>
-		<enum name="GstTagImageType">
+		<enum name="GstTagImageType" type-name="GstTagImageType" get-type="gst_tag_image_type_get_type">
+			<member name="GST_TAG_IMAGE_TYPE_NONE" value="-1"/>
 			<member name="GST_TAG_IMAGE_TYPE_UNDEFINED" value="0"/>
 			<member name="GST_TAG_IMAGE_TYPE_FRONT_COVER" value="1"/>
 			<member name="GST_TAG_IMAGE_TYPE_BACK_COVER" value="2"/>
diff --git a/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.metadata b/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.metadata
index 0b30a5e..e27b3b0 100644
--- a/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.metadata
+++ b/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.metadata
@@ -1,3 +1,16 @@
 Gst cprefix="Gst" lower_case_cprefix="gst_" cheader_filename="gst/tag/tag.h"
 GstTagDemuxResult cheader_filename="gst/tag/gsttagdemux.h"
 GstTagDemux cheader_filename="gst/tag/gsttagdemux.h"
+gst_tag_list_new_from_id3v1 transfer_ownership="1"
+gst_tag_demux_identify_tag.tag_size is_out="1"
+gst_tag_demux_parse_tag.tag_size is_out="1"
+gst_tag_demux_parse_tag.tags is_out="1" transfer_ownership="1"
+gst_tag_list_from_vorbiscomment_buffer transfer_ownership="1"
+gst_tag_list_from_vorbiscomment_buffer.vendor_string is_out="1" transfer_ownership="1"
+gst_tag_to_vorbis_comments transfer_ownership="1"
+gst_tag_list_to_vorbiscomment_buffer transfer_ownership="1"
+gst_tag_parse_extended_comment.key is_out="1" transfer_ownership="1"
+gst_tag_parse_extended_comment.lang is_out="1" transfer_ownership="1"
+gst_tag_parse_extended_comment.value is_out="1" transfer_ownership="1"
+gst_tag_freeform_string_to_utf8 transfer_ownership="1"
+gst_tag_image_data_to_image_buffer transfer_ownership="1"



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