vala r1581 - in trunk: . vapi vapi/packages/gstreamer-rtsp-0.10



Author: juergbi
Date: Sat Jun 14 18:01:40 2008
New Revision: 1581
URL: http://svn.gnome.org/viewvc/vala?rev=1581&view=rev

Log:
2008-06-14  JÃrg Billeter  <j bitron ch>

	* vapi/packages/gstreamer-rtsp-0.10/:

	Various fixes, patch by Ali Sabil

	* vapi/gstreamer-rtsp-0.10.vapi: regenerated


Added:
   trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10-custom.vala
Modified:
   trunk/ChangeLog
   trunk/vapi/gstreamer-rtsp-0.10.vapi
   trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.gi
   trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.metadata

Modified: trunk/vapi/gstreamer-rtsp-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-rtsp-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-rtsp-0.10.vapi	Sat Jun 14 18:01:40 2008
@@ -2,19 +2,19 @@
 
 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
 namespace Gst {
-	[CCode (cprefix = "GST_RTSP_AUTH_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+	[CCode (cprefix = "GST_RTSP_AUTH_", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
 	public enum RTSPAuthMethod {
 		NONE,
 		BASIC,
 		DIGEST
 	}
-	[CCode (cprefix = "GST_RTSP_FAM_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+	[CCode (cprefix = "GST_RTSP_FAM_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public enum RTSPFamily {
 		NONE,
 		INET,
 		INET6
 	}
-	[CCode (cprefix = "GST_RTSP_HDR_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+	[CCode (cprefix = "GST_RTSP_HDR_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public enum RTSPHeaderField {
 		INVALID,
 		ACCEPT,
@@ -99,7 +99,7 @@
 		NPT,
 		CLOCK
 	}
-	[CCode (cprefix = "GST_RTSP_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+	[CCode (cprefix = "GST_RTSP_", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
 	public enum RTSPResult {
 		OK,
 		ERROR,
@@ -118,7 +118,7 @@
 		ETIMEOUT,
 		ELAST
 	}
-	[CCode (cprefix = "GST_RTSP_STATE_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+	[CCode (cprefix = "GST_RTSP_STATE_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public enum RTSPState {
 		INVALID,
 		INIT,
@@ -127,7 +127,7 @@
 		PLAYING,
 		RECORDING
 	}
-	[CCode (cprefix = "GST_RTSP_STS_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+	[CCode (cprefix = "GST_RTSP_STS_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public enum RTSPStatusCode {
 		INVALID,
 		CONTINUE,
@@ -187,18 +187,18 @@
 		RTP,
 		RDT
 	}
-	[CCode (cprefix = "GST_RTSP_VERSION_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+	[CCode (cprefix = "GST_RTSP_VERSION_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public enum RTSPVersion {
 		INVALID,
 		1_0
 	}
-	[CCode (cprefix = "GST_RTSP_EV_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+	[CCode (cprefix = "GST_RTSP_EV_", cheader_filename = "gst/rtsp/gstrtspconnection.h")]
 	[Flags]
 	public enum RTSPEvent {
 		READ,
 		WRITE
 	}
-	[CCode (cprefix = "GST_RTSP_", has_type_id = "0", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
+	[CCode (cprefix = "GST_RTSP_", cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	[Flags]
 	public enum RTSPMethod {
 		INVALID,
@@ -215,123 +215,116 @@
 		TEARDOWN
 	}
 	[Compact]
-	[CCode (cheader_filename = "gst/rtsp/gstrtspconnection.h")]
-	public class RTSPConnection {
-		public weak Gst.RTSPUrl url;
-		public int fd;
-		[NoArrayLength]
-		public weak int[] control_sock;
-		public weak string ip;
-		public int cseq;
-		[NoArrayLength]
-		public weak char[] session_id;
-		public int timeout;
-		public weak GLib.Timer timer;
-		public Gst.RTSPAuthMethod auth_method;
-		public weak string username;
-		public weak string passwd;
-		public Gst.RTSPResult close ();
-		public Gst.RTSPResult connect (GLib.TimeVal timeout);
-		public static Gst.RTSPResult create (Gst.RTSPUrl url, out weak Gst.RTSPConnection conn);
-		public Gst.RTSPResult flush (bool flush);
-		public Gst.RTSPResult next_timeout (GLib.TimeVal timeout);
-		public Gst.RTSPResult poll (Gst.RTSPEvent events, Gst.RTSPEvent revents, GLib.TimeVal timeout);
-		public Gst.RTSPResult read (uchar data, uint size, GLib.TimeVal timeout);
-		public Gst.RTSPResult receive (Gst.RTSPMessage message, GLib.TimeVal timeout);
-		public Gst.RTSPResult reset_timeout ();
-		public Gst.RTSPResult send (Gst.RTSPMessage message, GLib.TimeVal timeout);
-		public Gst.RTSPResult set_auth (Gst.RTSPAuthMethod method, string user, string pass);
-		public Gst.RTSPResult write (uchar data, uint size, GLib.TimeVal timeout);
-	}
-	[Compact]
-	[CCode (cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspmessage.h")]
 	public class RTSPMessage {
 		public Gst.RTSPMsgType type;
 		public void* type_data;
-		public weak GLib.Array hdr_fields;
+		public GLib.Array hdr_fields;
 		public uchar body;
 		public uint body_size;
+		public static Gst.RTSPResult @new (out Gst.RTSPMessage msg);
+		public static Gst.RTSPResult new_data (out Gst.RTSPMessage msg, uchar channel);
+		public static Gst.RTSPResult new_request (out Gst.RTSPMessage msg, Gst.RTSPMethod method, string uri);
+		public static Gst.RTSPResult new_response (out Gst.RTSPMessage msg, Gst.RTSPStatusCode code, string reason, Gst.RTSPMessage request);
+		public RTSPMessage ();
 		public Gst.RTSPResult add_header (Gst.RTSPHeaderField field, string value);
 		public Gst.RTSPResult append_headers (GLib.StringBuilder str);
 		public Gst.RTSPResult dump ();
-		public Gst.RTSPResult get_body (uchar data, uint size);
-		public Gst.RTSPResult get_header (Gst.RTSPHeaderField field, string value, int indx);
+		public Gst.RTSPResult get_body (out weak uchar[] data, uint size);
+		public Gst.RTSPResult get_header (Gst.RTSPHeaderField field, out weak string value, int indx);
 		public Gst.RTSPResult init ();
 		public Gst.RTSPResult init_data (uchar channel);
 		public Gst.RTSPResult init_request (Gst.RTSPMethod method, string uri);
 		public Gst.RTSPResult init_response (Gst.RTSPStatusCode code, string reason, Gst.RTSPMessage request);
-		public RTSPMessage (out weak Gst.RTSPMessage msg);
-		public RTSPMessage.data (out weak Gst.RTSPMessage msg, uchar channel);
-		public RTSPMessage.request (out weak Gst.RTSPMessage msg, Gst.RTSPMethod method, string uri);
-		public RTSPMessage.response (out weak Gst.RTSPMessage msg, Gst.RTSPStatusCode code, string reason, Gst.RTSPMessage request);
 		public Gst.RTSPResult parse_data (uchar channel);
 		public Gst.RTSPResult parse_request (Gst.RTSPMethod method, string uri, Gst.RTSPVersion version);
 		public Gst.RTSPResult parse_response (Gst.RTSPStatusCode code, string reason, Gst.RTSPVersion version);
 		public Gst.RTSPResult remove_header (Gst.RTSPHeaderField field, int indx);
-		public Gst.RTSPResult set_body (uchar data, uint size);
-		public Gst.RTSPResult steal_body (uchar data, uint size);
-		public Gst.RTSPResult take_body (uchar data, uint size);
+		public Gst.RTSPResult set_body (uchar[] data, uint size);
+		public Gst.RTSPResult steal_body (out uchar[] data, uint size);
+		public Gst.RTSPResult take_body (uchar[]# data, uint size);
 		public Gst.RTSPResult unset ();
 	}
 	[Compact]
-	[CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
-	public class RTSPRange {
-		public int min;
-		public int max;
-		public static Gst.RTSPResult parse (string rangestr, out weak Gst.RTSPTimeRange range);
-	}
-	[Compact]
-	[CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
-	public class RTSPTime {
-		public Gst.RTSPTimeType type;
-		public double seconds;
-	}
-	[Compact]
-	[CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
-	public class RTSPTimeRange {
-		public Gst.RTSPRangeUnit unit;
-		public weak Gst.RTSPTime min;
-		public weak Gst.RTSPTime max;
-	}
-	[Compact]
 	[CCode (cheader_filename = "gst/rtsp/gstrtsptransport.h")]
 	public class RTSPTransport {
 		public Gst.RTSPTransMode trans;
 		public Gst.RTSPProfile profile;
 		public Gst.RTSPLowerTrans lower_transport;
-		public weak string destination;
-		public weak string source;
+		public string destination;
+		public string source;
 		public uint layers;
 		public bool mode_play;
 		public bool mode_record;
 		public bool append;
-		public weak Gst.RTSPRange interleaved;
+		public Gst.RTSPRange interleaved;
 		public uint ttl;
-		public weak Gst.RTSPRange port;
-		public weak Gst.RTSPRange client_port;
-		public weak Gst.RTSPRange server_port;
+		public Gst.RTSPRange port;
+		public Gst.RTSPRange client_port;
+		public Gst.RTSPRange server_port;
 		public uint ssrc;
-		public weak string as_text ();
+		public static Gst.RTSPResult @new (out Gst.RTSPTransport transport);
+		public RTSPTransport ();
+		public string as_text ();
 		public static Gst.RTSPResult get_manager (Gst.RTSPTransMode trans, string manager, uint option);
 		public static Gst.RTSPResult get_mime (Gst.RTSPTransMode trans, string mime);
 		public Gst.RTSPResult init ();
-		public RTSPTransport (out weak Gst.RTSPTransport transport);
 		public static Gst.RTSPResult parse (string str, Gst.RTSPTransport transport);
 	}
 	[Compact]
 	[CCode (cheader_filename = "gst/rtsp/gstrtspconnection.h")]
+	public class RTSPConnection {
+		public void clear_auth_params ();
+		public Gst.RTSPResult close ();
+		public Gst.RTSPResult connect (GLib.TimeVal timeout);
+		public static Gst.RTSPResult create (Gst.RTSPUrl url, out Gst.RTSPConnection conn);
+		public Gst.RTSPResult flush (bool flush);
+		public weak string get_ip ();
+		public Gst.RTSPResult next_timeout (GLib.TimeVal timeout);
+		public Gst.RTSPResult poll (Gst.RTSPEvent events, Gst.RTSPEvent revents, GLib.TimeVal timeout);
+		public Gst.RTSPResult read (uchar data, uint size, GLib.TimeVal timeout);
+		public Gst.RTSPResult receive (Gst.RTSPMessage message, GLib.TimeVal timeout);
+		public Gst.RTSPResult reset_timeout ();
+		public Gst.RTSPResult send (Gst.RTSPMessage message, GLib.TimeVal timeout);
+		public Gst.RTSPResult set_auth (Gst.RTSPAuthMethod method, string user, string pass);
+		public void set_auth_param (string param, string value);
+		public Gst.RTSPResult set_qos_dscp (uint qos_dscp);
+		public Gst.RTSPResult write (uchar data, uint size, GLib.TimeVal timeout);
+	}
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
+	public class RTSPRange {
+		public int min;
+		public int max;
+		public static Gst.RTSPResult parse (string rangestr, out Gst.RTSPTimeRange range);
+	}
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
+	public class RTSPTime {
+		public Gst.RTSPTimeType type;
+		public double seconds;
+	}
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtsprange.h")]
+	public class RTSPTimeRange {
+		public Gst.RTSPRangeUnit unit;
+		public Gst.RTSPTime min;
+		public Gst.RTSPTime max;
+	}
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspconnection.h")]
 	public class RTSPUrl {
 		public Gst.RTSPLowerTrans transports;
 		public Gst.RTSPFamily family;
-		public weak string user;
-		public weak string passwd;
-		public weak string host;
+		public string user;
+		public string passwd;
+		public string host;
 		public ushort port;
-		public weak string abspath;
-		public weak string query;
+		public string abspath;
+		public string query;
 		public Gst.RTSPResult get_port (ushort port);
-		public weak string get_request_uri ();
-		public static Gst.RTSPResult parse (string urlstr, out weak Gst.RTSPUrl url);
+		public string get_request_uri ();
+		public static Gst.RTSPResult parse (string urlstr, out Gst.RTSPUrl url);
 		public Gst.RTSPResult set_port (ushort port);
 	}
 	[CCode (cheader_filename = "gst/rtsp/gstrtspextension.h")]
@@ -349,22 +342,22 @@
 	}
 	[CCode (cheader_filename = "gst/gst.h")]
 	public const int RTSP_DEFAULT_PORT;
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspbase64.h")]
 	public static void rtsp_base64_decode_ip (string data, ulong len);
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspbase64.h")]
 	public static weak string rtsp_base64_encode (string data, ulong len);
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public static Gst.RTSPHeaderField rtsp_find_header_field (string header);
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public static Gst.RTSPMethod rtsp_find_method (string method);
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public static weak string rtsp_header_as_text (Gst.RTSPHeaderField field);
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public static weak string rtsp_method_as_text (Gst.RTSPMethod method);
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public static weak string rtsp_status_as_text (Gst.RTSPStatusCode code);
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public static weak string rtsp_strresult (Gst.RTSPResult _result);
-	[CCode (cheader_filename = "gst/gst.h")]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspdefs.h")]
 	public static weak string rtsp_version_as_text (Gst.RTSPVersion version);
 }

Added: trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10-custom.vala
==============================================================================
--- (empty file)
+++ trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10-custom.vala	Sat Jun 14 18:01:40 2008
@@ -0,0 +1,37 @@
+/* gstreamer-rtsp-0.10-custom.vala
+ *
+ * Copyright (C) 2008  Ali Sabil
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
+ *
+ * Author:
+ * 	Ali Sabil <ali sabil gmail com>
+ */
+namespace Gst {
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtspmessage.h", free_function = "gst_rtsp_message_free")]
+	public class RTSPMessage {
+		public static Gst.RTSPResult @new (out Gst.RTSPMessage msg);
+		public static Gst.RTSPResult new_data (out Gst.RTSPMessage msg, uchar channel);
+		public static Gst.RTSPResult new_request (out Gst.RTSPMessage msg, Gst.RTSPMethod method, string uri);
+		public static Gst.RTSPResult new_response (out Gst.RTSPMessage msg, Gst.RTSPStatusCode code, string reason, Gst.RTSPMessage request);
+	}
+
+	[Compact]
+	[CCode (cheader_filename = "gst/rtsp/gstrtsptransport.h", free_function = "gst_rtsp_transport_free")]
+	public class RTSPTransport {
+		public static Gst.RTSPResult @new (out Gst.RTSPTransport transport);
+	}
+}

Modified: trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.gi
==============================================================================
--- trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.gi	(original)
+++ trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.gi	Sat Jun 14 18:01:40 2008
@@ -58,6 +58,12 @@
 			</parameters>
 		</function>
 		<struct name="GstRTSPConnection">
+			<method name="clear_auth_params" symbol="gst_rtsp_connection_clear_auth_params">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="conn" type="GstRTSPConnection*"/>
+				</parameters>
+			</method>
 			<method name="close" symbol="gst_rtsp_connection_close">
 				<return-type type="GstRTSPResult"/>
 				<parameters>
@@ -91,6 +97,12 @@
 					<parameter name="conn" type="GstRTSPConnection*"/>
 				</parameters>
 			</method>
+			<method name="get_ip" symbol="gst_rtsp_connection_get_ip">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="conn" type="GstRTSPConnection*"/>
+				</parameters>
+			</method>
 			<method name="next_timeout" symbol="gst_rtsp_connection_next_timeout">
 				<return-type type="GstRTSPResult"/>
 				<parameters>
@@ -147,6 +159,21 @@
 					<parameter name="pass" type="gchar*"/>
 				</parameters>
 			</method>
+			<method name="set_auth_param" symbol="gst_rtsp_connection_set_auth_param">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="conn" type="GstRTSPConnection*"/>
+					<parameter name="param" type="gchar*"/>
+					<parameter name="value" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="set_qos_dscp" symbol="gst_rtsp_connection_set_qos_dscp">
+				<return-type type="GstRTSPResult"/>
+				<parameters>
+					<parameter name="conn" type="GstRTSPConnection*"/>
+					<parameter name="qos_dscp" type="guint"/>
+				</parameters>
+			</method>
 			<method name="write" symbol="gst_rtsp_connection_write">
 				<return-type type="GstRTSPResult"/>
 				<parameters>
@@ -156,17 +183,6 @@
 					<parameter name="timeout" type="GTimeVal*"/>
 				</parameters>
 			</method>
-			<field name="url" type="GstRTSPUrl*"/>
-			<field name="fd" type="gint"/>
-			<field name="control_sock" type="gint[]"/>
-			<field name="ip" type="gchar*"/>
-			<field name="cseq" type="gint"/>
-			<field name="session_id" type="gchar[]"/>
-			<field name="timeout" type="gint"/>
-			<field name="timer" type="GTimer*"/>
-			<field name="auth_method" type="GstRTSPAuthMethod"/>
-			<field name="username" type="gchar*"/>
-			<field name="passwd" type="gchar*"/>
 		</struct>
 		<struct name="GstRTSPMessage">
 			<method name="add_header" symbol="gst_rtsp_message_add_header">
@@ -474,17 +490,17 @@
 			<field name="abspath" type="gchar*"/>
 			<field name="query" type="gchar*"/>
 		</struct>
-		<enum name="GstRTSPAuthMethod">
+		<enum name="GstRTSPAuthMethod" type-name="GstRTSPAuthMethod" get-type="gst_rtsp_auth_method_get_type">
 			<member name="GST_RTSP_AUTH_NONE" value="0"/>
 			<member name="GST_RTSP_AUTH_BASIC" value="1"/>
 			<member name="GST_RTSP_AUTH_DIGEST" value="2"/>
 		</enum>
-		<enum name="GstRTSPFamily">
+		<enum name="GstRTSPFamily" type-name="GstRTSPFamily" get-type="gst_rtsp_family_get_type">
 			<member name="GST_RTSP_FAM_NONE" value="0"/>
 			<member name="GST_RTSP_FAM_INET" value="1"/>
 			<member name="GST_RTSP_FAM_INET6" value="2"/>
 		</enum>
-		<enum name="GstRTSPHeaderField">
+		<enum name="GstRTSPHeaderField" type-name="GstRTSPHeaderField" get-type="gst_rtsp_header_field_get_type">
 			<member name="GST_RTSP_HDR_INVALID" value="0"/>
 			<member name="GST_RTSP_HDR_ACCEPT" value="1"/>
 			<member name="GST_RTSP_HDR_ACCEPT_ENCODING" value="2"/>
@@ -564,7 +580,7 @@
 			<member name="GST_RTSP_RANGE_NPT" value="3"/>
 			<member name="GST_RTSP_RANGE_CLOCK" value="4"/>
 		</enum>
-		<enum name="GstRTSPResult">
+		<enum name="GstRTSPResult" type-name="GstRTSPResult" get-type="gst_rtsp_result_get_type">
 			<member name="GST_RTSP_OK" value="0"/>
 			<member name="GST_RTSP_ERROR" value="-1"/>
 			<member name="GST_RTSP_EINVAL" value="-2"/>
@@ -582,7 +598,7 @@
 			<member name="GST_RTSP_ETIMEOUT" value="-14"/>
 			<member name="GST_RTSP_ELAST" value="-15"/>
 		</enum>
-		<enum name="GstRTSPState">
+		<enum name="GstRTSPState" type-name="GstRTSPState" get-type="gst_rtsp_state_get_type">
 			<member name="GST_RTSP_STATE_INVALID" value="0"/>
 			<member name="GST_RTSP_STATE_INIT" value="1"/>
 			<member name="GST_RTSP_STATE_READY" value="2"/>
@@ -590,7 +606,7 @@
 			<member name="GST_RTSP_STATE_PLAYING" value="4"/>
 			<member name="GST_RTSP_STATE_RECORDING" value="5"/>
 		</enum>
-		<enum name="GstRTSPStatusCode">
+		<enum name="GstRTSPStatusCode" type-name="GstRTSPStatusCode" get-type="gst_rtsp_status_code_get_type">
 			<member name="GST_RTSP_STS_INVALID" value="0"/>
 			<member name="GST_RTSP_STS_CONTINUE" value="100"/>
 			<member name="GST_RTSP_STS_OK" value="200"/>
@@ -647,15 +663,15 @@
 			<member name="GST_RTSP_TRANS_RTP" value="1"/>
 			<member name="GST_RTSP_TRANS_RDT" value="2"/>
 		</enum>
-		<enum name="GstRTSPVersion">
+		<enum name="GstRTSPVersion" type-name="GstRTSPVersion" get-type="gst_rtsp_version_get_type">
 			<member name="GST_RTSP_VERSION_INVALID" value="0"/>
 			<member name="GST_RTSP_VERSION_1_0" value="16"/>
 		</enum>
-		<flags name="GstRTSPEvent">
+		<flags name="GstRTSPEvent" type-name="GstRTSPEvent" get-type="gst_rtsp_event_get_type">
 			<member name="GST_RTSP_EV_READ" value="1"/>
 			<member name="GST_RTSP_EV_WRITE" value="2"/>
 		</flags>
-		<flags name="GstRTSPMethod">
+		<flags name="GstRTSPMethod" type-name="GstRTSPMethod" get-type="gst_rtsp_method_get_type">
 			<member name="GST_RTSP_INVALID" value="0"/>
 			<member name="GST_RTSP_DESCRIBE" value="1"/>
 			<member name="GST_RTSP_ANNOUNCE" value="2"/>

Modified: trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.metadata
==============================================================================
--- trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.metadata	(original)
+++ trunk/vapi/packages/gstreamer-rtsp-0.10/gstreamer-rtsp-0.10.metadata	Sat Jun 14 18:01:40 2008
@@ -16,20 +16,38 @@
 GstRTSPEvent cheader_filename="gst/rtsp/gstrtspconnection.h"
 GstRTSPMethod cheader_filename="gst/rtsp/gstrtspdefs.h"
 GstRTSPConnection cheader_filename="gst/rtsp/gstrtspconnection.h"
-GstRTSPMessage cheader_filename="gst/rtsp/gstrtspconnection.h"
+GstRTSPMessage cheader_filename="gst/rtsp/gstrtspmessage.h"
+GstRTSPMessage.hdr_fields weak="0"
 GstRTSPRange cheader_filename="gst/rtsp/gstrtsprange.h"
 GstRTSPTime cheader_filename="gst/rtsp/gstrtsprange.h"
 GstRTSPTimeRange cheader_filename="gst/rtsp/gstrtsprange.h"
-GstRTSPTransport cheader_filename="gst/rtsp/gstrtsptransport.h"
+GstRTSPTimeRange.* weak="0"
+GstRTSPTransport.* weak="0"
 GstRTSPUrl cheader_filename="gst/rtsp/gstrtspconnection.h"
+GstRTSPUrl.* weak="0"
 GstRTSPExtension cheader_filename="gst/rtsp/gstrtspextension.h"
 gst_rtsp_base64_decode_ip cheader_filename="gst/rtsp/gstrtspbase64.h"
 gst_rtsp_base64_encode cheader_filename="gst/rtsp/gstrtspbase64.h"
+gst_rtsp_connection_create.conn transfer_ownership="1"
 gst_rtsp_find_header_field cheader_filename="gst/rtsp/gstrtspdefs.h"
 gst_rtsp_find_method cheader_filename="gst/rtsp/gstrtspdefs.h"
 gst_rtsp_header_as_text cheader_filename="gst/rtsp/gstrtspdefs.h"
 gst_rtsp_method_as_text cheader_filename="gst/rtsp/gstrtspdefs.h"
+gst_rtsp_message_new hidden="1"
+gst_rtsp_message_new_request hidden="1"
+gst_rtsp_message_new_response hidden="1"
+gst_rtsp_message_new_data hidden="1"
+gst_rtsp_message_get_body.data is_array="1" is_out="1"
+gst_rtsp_message_get_header.value is_out="1"
+gst_rtsp_message_set_body.data is_array="1"
+gst_rtsp_message_steal_body.data is_array="1" is_out="1" value_owned="1"
+gst_rtsp_message_take_body.data is_array="1" takes_ownership="1"
+gst_rtsp_range_parse.range transfer_ownership="1"
 gst_rtsp_status_as_text cheader_filename="gst/rtsp/gstrtspdefs.h"
 gst_rtsp_strresult cheader_filename="gst/rtsp/gstrtspdefs.h"
+gst_rtsp_transport_new hidden="1"
+gst_rtsp_transport_as_text transfer_ownership="1"
+gst_rtsp_url_get_request_uri transfer_ownership="1"
+gst_rtsp_url_parse.url transfer_ownership="1"
 gst_rtsp_version_as_text cheader_filename="gst/rtsp/gstrtspdefs.h"
 GST_RTSP_DEFAULT_PORT cheader_filename="gst/rtsp/gstrtspurl.h"



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