[vala] gstreamer-pbutils-0.10: Update for 0.10.31



commit c8ac07a5f74b7f968a031410298d5e7ee82d77b6
Author: Arun Raghavan <arun raghavan collabora co uk>
Date:   Thu Nov 18 20:40:58 2010 +0530

    gstreamer-pbutils-0.10: Update for 0.10.31

 vapi/gstreamer-pbutils-0.10.vapi                   |  105 ++++++
 .../gstreamer-pbutils-0.10.gi                      |  390 ++++++++++++++++++++
 .../gstreamer-pbutils-0.10.metadata                |   54 +++
 3 files changed, 549 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gstreamer-pbutils-0.10.vapi b/vapi/gstreamer-pbutils-0.10.vapi
index 07aa1f3..08a64e5 100644
--- a/vapi/gstreamer-pbutils-0.10.vapi
+++ b/vapi/gstreamer-pbutils-0.10.vapi
@@ -2,6 +2,70 @@
 
 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
 namespace Gst {
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public class Discoverer : GLib.Object {
+		[CCode (has_construct_function = false)]
+		public Discoverer (Gst.ClockTime timeout) throws GLib.Error;
+		public Gst.DiscovererInfo discover_uri (string uri) throws GLib.Error;
+		public bool discover_uri_async (string uri);
+		public void start ();
+		public void stop ();
+		[NoAccessorMethod]
+		public uint64 timeout { get; set construct; }
+		public virtual signal void discovered (Gst.DiscovererInfo info, GLib.Error err);
+		public virtual signal void finished ();
+		public virtual signal void starting ();
+	}
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public class DiscovererAudioInfo : Gst.DiscovererStreamInfo {
+		public uint get_bitrate ();
+		public uint get_channels ();
+		public uint get_depth ();
+		public uint get_max_bitrate ();
+		public uint get_sample_rate ();
+	}
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public class DiscovererContainerInfo : Gst.DiscovererStreamInfo {
+		public GLib.List<Gst.MiniObject> get_streams ();
+	}
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public class DiscovererInfo : Gst.MiniObject {
+		public GLib.List<Gst.DiscovererAudioInfo> get_audio_streams ();
+		public GLib.List<Gst.DiscovererVideoInfo> get_container_streams ();
+		public Gst.ClockTime get_duration ();
+		public unowned Gst.Structure get_misc ();
+		public Gst.DiscovererResult get_result ();
+		public Gst.DiscovererStreamInfo get_stream_info ();
+		public GLib.List<Gst.DiscovererStreamInfo> get_stream_list ();
+		public GLib.List<Gst.MiniObject> get_streams (GLib.Type streamtype);
+		public unowned Gst.TagList get_tags ();
+		public unowned string get_uri ();
+		public GLib.List<Gst.DiscovererVideoInfo> get_video_streams ();
+	}
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public class DiscovererStreamInfo : Gst.MiniObject {
+		public Gst.Caps get_caps ();
+		public unowned Gst.Structure get_misc ();
+		public Gst.DiscovererStreamInfo get_next ();
+		public Gst.DiscovererStreamInfo get_previous ();
+		public unowned string get_stream_type_nick ();
+		public unowned Gst.TagList get_tags ();
+		public static void list_free (GLib.List infos);
+	}
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public class DiscovererVideoInfo : Gst.DiscovererStreamInfo {
+		public uint get_bitrate ();
+		public uint get_depth ();
+		public uint get_framerate_denom ();
+		public uint get_framerate_num ();
+		public uint get_height ();
+		public uint get_max_bitrate ();
+		public uint get_par_denom ();
+		public uint get_par_num ();
+		public uint get_width ();
+		public bool is_image ();
+		public bool is_interlaced ();
+	}
 	[Compact]
 	[CCode (type_id = "GST_TYPE_INSTALL_PLUGINS_CONTEXT", cheader_filename = "gst/pbutils/pbutils.h")]
 	public class InstallPluginsContext {
@@ -9,6 +73,15 @@ namespace Gst {
 		public InstallPluginsContext ();
 		public void set_xid (uint xid);
 	}
+	[CCode (cprefix = "GST_DISCOVERER_", cheader_filename = "gst/pbutils/pbutils.h")]
+	public enum DiscovererResult {
+		OK,
+		URI_INVALID,
+		ERROR,
+		TIMEOUT,
+		BUSY,
+		MISSING_PLUGINS
+	}
 	[CCode (cprefix = "GST_INSTALL_PLUGINS_", cheader_filename = "gst/pbutils/pbutils.h")]
 	public enum InstallPluginsReturn {
 		SUCCESS,
@@ -26,6 +99,34 @@ namespace Gst {
 	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
 	public delegate void InstallPluginsResultFunc (Gst.InstallPluginsReturn result);
 	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public const int PLUGINS_BASE_VERSION_MAJOR;
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public const int PLUGINS_BASE_VERSION_MICRO;
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public const int PLUGINS_BASE_VERSION_MINOR;
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public const int PLUGINS_BASE_VERSION_NANO;
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static bool codec_utils_aac_caps_set_level_and_profile (Gst.Caps caps, [CCode (array_length_pos = 2.9)] uchar[] audio_config);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static unowned string codec_utils_aac_get_level ([CCode (array_length_pos = 1.9)] uchar[] audio_config);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static unowned string codec_utils_aac_get_profile ([CCode (array_length_pos = 1.9)] uchar[] audio_config);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static uint codec_utils_aac_get_sample_rate_from_index (uint sr_idx);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static bool codec_utils_h264_caps_set_level_and_profile (Gst.Caps caps, [CCode (array_length_pos = 2.9)] uchar[] sps);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static unowned string codec_utils_h264_get_level ([CCode (array_length_pos = 1.9)] uchar[] sps);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static unowned string codec_utils_h264_get_profile ([CCode (array_length_pos = 1.9)] uchar[] sps);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static bool codec_utils_mpeg4video_caps_set_level_and_profile (Gst.Caps caps, [CCode (array_length_pos = 2.9)] uchar[] vis_obj_seq);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static unowned string codec_utils_mpeg4video_get_level ([CCode (array_length_pos = 1.9)] uchar[] vis_obj_seq);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static unowned string codec_utils_mpeg4video_get_profile ([CCode (array_length_pos = 1.9)] uchar[] vis_obj_seq);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
 	public static Gst.InstallPluginsReturn install_plugins_async ([CCode (array_length = false)] string[] details, Gst.InstallPluginsContext? ctx, Gst.InstallPluginsResultFunc func);
 	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
 	public static bool install_plugins_installation_in_progress ();
@@ -77,4 +178,8 @@ namespace Gst {
 	public static unowned string pb_utils_get_source_description (string protocol);
 	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
 	public static void pb_utils_init ();
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static void plugins_base_version (uint major, uint minor, uint micro, uint nano);
+	[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+	public static unowned string plugins_base_version_string ();
 }
diff --git a/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.gi b/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.gi
index f7c0a37..3c6bfa5 100644
--- a/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.gi
+++ b/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.gi
@@ -1,6 +1,78 @@
 <?xml version="1.0"?>
 <api version="1.0">
 	<namespace name="Gst">
+		<function name="codec_utils_aac_caps_set_level_and_profile" symbol="gst_codec_utils_aac_caps_set_level_and_profile">
+			<return-type type="gboolean"/>
+			<parameters>
+				<parameter name="caps" type="GstCaps*"/>
+				<parameter name="audio_config" type="guint8*"/>
+				<parameter name="len" type="guint"/>
+			</parameters>
+		</function>
+		<function name="codec_utils_aac_get_level" symbol="gst_codec_utils_aac_get_level">
+			<return-type type="gchar*"/>
+			<parameters>
+				<parameter name="audio_config" type="guint8*"/>
+				<parameter name="len" type="guint"/>
+			</parameters>
+		</function>
+		<function name="codec_utils_aac_get_profile" symbol="gst_codec_utils_aac_get_profile">
+			<return-type type="gchar*"/>
+			<parameters>
+				<parameter name="audio_config" type="guint8*"/>
+				<parameter name="len" type="guint"/>
+			</parameters>
+		</function>
+		<function name="codec_utils_aac_get_sample_rate_from_index" symbol="gst_codec_utils_aac_get_sample_rate_from_index">
+			<return-type type="guint"/>
+			<parameters>
+				<parameter name="sr_idx" type="guint"/>
+			</parameters>
+		</function>
+		<function name="codec_utils_h264_caps_set_level_and_profile" symbol="gst_codec_utils_h264_caps_set_level_and_profile">
+			<return-type type="gboolean"/>
+			<parameters>
+				<parameter name="caps" type="GstCaps*"/>
+				<parameter name="sps" type="guint8*"/>
+				<parameter name="len" type="guint"/>
+			</parameters>
+		</function>
+		<function name="codec_utils_h264_get_level" symbol="gst_codec_utils_h264_get_level">
+			<return-type type="gchar*"/>
+			<parameters>
+				<parameter name="sps" type="guint8*"/>
+				<parameter name="len" type="guint"/>
+			</parameters>
+		</function>
+		<function name="codec_utils_h264_get_profile" symbol="gst_codec_utils_h264_get_profile">
+			<return-type type="gchar*"/>
+			<parameters>
+				<parameter name="sps" type="guint8*"/>
+				<parameter name="len" type="guint"/>
+			</parameters>
+		</function>
+		<function name="codec_utils_mpeg4video_caps_set_level_and_profile" symbol="gst_codec_utils_mpeg4video_caps_set_level_and_profile">
+			<return-type type="gboolean"/>
+			<parameters>
+				<parameter name="caps" type="GstCaps*"/>
+				<parameter name="vis_obj_seq" type="guint8*"/>
+				<parameter name="len" type="guint"/>
+			</parameters>
+		</function>
+		<function name="codec_utils_mpeg4video_get_level" symbol="gst_codec_utils_mpeg4video_get_level">
+			<return-type type="gchar*"/>
+			<parameters>
+				<parameter name="vis_obj_seq" type="guint8*"/>
+				<parameter name="len" type="guint"/>
+			</parameters>
+		</function>
+		<function name="codec_utils_mpeg4video_get_profile" symbol="gst_codec_utils_mpeg4video_get_profile">
+			<return-type type="gchar*"/>
+			<parameters>
+				<parameter name="vis_obj_seq" type="guint8*"/>
+				<parameter name="len" type="guint"/>
+			</parameters>
+		</function>
 		<function name="install_plugins_async" symbol="gst_install_plugins_async">
 			<return-type type="GstInstallPluginsReturn"/>
 			<parameters>
@@ -159,6 +231,18 @@
 		<function name="pb_utils_init" symbol="gst_pb_utils_init">
 			<return-type type="void"/>
 		</function>
+		<function name="plugins_base_version" symbol="gst_plugins_base_version">
+			<return-type type="void"/>
+			<parameters>
+				<parameter name="major" type="guint*"/>
+				<parameter name="minor" type="guint*"/>
+				<parameter name="micro" type="guint*"/>
+				<parameter name="nano" type="guint*"/>
+			</parameters>
+		</function>
+		<function name="plugins_base_version_string" symbol="gst_plugins_base_version_string">
+			<return-type type="gchar*"/>
+		</function>
 		<callback name="GstInstallPluginsResultFunc">
 			<return-type type="void"/>
 			<parameters>
@@ -166,6 +250,243 @@
 				<parameter name="user_data" type="gpointer"/>
 			</parameters>
 		</callback>
+		<struct name="GstDiscovererAudioInfo">
+			<method name="get_bitrate" symbol="gst_discoverer_audio_info_get_bitrate">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererAudioInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_channels" symbol="gst_discoverer_audio_info_get_channels">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererAudioInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_depth" symbol="gst_discoverer_audio_info_get_depth">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererAudioInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_max_bitrate" symbol="gst_discoverer_audio_info_get_max_bitrate">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererAudioInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_sample_rate" symbol="gst_discoverer_audio_info_get_sample_rate">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererAudioInfo*"/>
+				</parameters>
+			</method>
+		</struct>
+		<struct name="GstDiscovererAudioInfoClass">
+		</struct>
+		<struct name="GstDiscovererContainerInfo">
+			<method name="get_streams" symbol="gst_discoverer_container_info_get_streams">
+				<return-type type="GList*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererContainerInfo*"/>
+				</parameters>
+			</method>
+		</struct>
+		<struct name="GstDiscovererContainerInfoClass">
+		</struct>
+		<struct name="GstDiscovererInfo">
+			<method name="copy" symbol="gst_discoverer_info_copy">
+				<return-type type="GstDiscovererInfo*"/>
+				<parameters>
+					<parameter name="ptr" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_audio_streams" symbol="gst_discoverer_info_get_audio_streams">
+				<return-type type="GList*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_container_streams" symbol="gst_discoverer_info_get_container_streams">
+				<return-type type="GList*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_duration" symbol="gst_discoverer_info_get_duration">
+				<return-type type="GstClockTime"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_misc" symbol="gst_discoverer_info_get_misc">
+				<return-type type="GstStructure*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_result" symbol="gst_discoverer_info_get_result">
+				<return-type type="GstDiscovererResult"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_stream_info" symbol="gst_discoverer_info_get_stream_info">
+				<return-type type="GstDiscovererStreamInfo*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_stream_list" symbol="gst_discoverer_info_get_stream_list">
+				<return-type type="GList*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_streams" symbol="gst_discoverer_info_get_streams">
+				<return-type type="GList*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+					<parameter name="streamtype" type="GType"/>
+				</parameters>
+			</method>
+			<method name="get_tags" symbol="gst_discoverer_info_get_tags">
+				<return-type type="GstTagList*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_uri" symbol="gst_discoverer_info_get_uri">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_video_streams" symbol="gst_discoverer_info_get_video_streams">
+				<return-type type="GList*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererInfo*"/>
+				</parameters>
+			</method>
+		</struct>
+		<struct name="GstDiscovererInfoClass">
+		</struct>
+		<struct name="GstDiscovererStreamInfo">
+			<method name="get_caps" symbol="gst_discoverer_stream_info_get_caps">
+				<return-type type="GstCaps*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererStreamInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_misc" symbol="gst_discoverer_stream_info_get_misc">
+				<return-type type="GstStructure*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererStreamInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_next" symbol="gst_discoverer_stream_info_get_next">
+				<return-type type="GstDiscovererStreamInfo*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererStreamInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_previous" symbol="gst_discoverer_stream_info_get_previous">
+				<return-type type="GstDiscovererStreamInfo*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererStreamInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_stream_type_nick" symbol="gst_discoverer_stream_info_get_stream_type_nick">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererStreamInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_tags" symbol="gst_discoverer_stream_info_get_tags">
+				<return-type type="GstTagList*"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererStreamInfo*"/>
+				</parameters>
+			</method>
+			<method name="list_free" symbol="gst_discoverer_stream_info_list_free">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="infos" type="GList*"/>
+				</parameters>
+			</method>
+		</struct>
+		<struct name="GstDiscovererStreamInfoClass">
+		</struct>
+		<struct name="GstDiscovererVideoInfo">
+			<method name="get_bitrate" symbol="gst_discoverer_video_info_get_bitrate">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_depth" symbol="gst_discoverer_video_info_get_depth">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_framerate_denom" symbol="gst_discoverer_video_info_get_framerate_denom">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_framerate_num" symbol="gst_discoverer_video_info_get_framerate_num">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_height" symbol="gst_discoverer_video_info_get_height">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_max_bitrate" symbol="gst_discoverer_video_info_get_max_bitrate">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_par_denom" symbol="gst_discoverer_video_info_get_par_denom">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_par_num" symbol="gst_discoverer_video_info_get_par_num">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="get_width" symbol="gst_discoverer_video_info_get_width">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="is_image" symbol="gst_discoverer_video_info_is_image">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+			<method name="is_interlaced" symbol="gst_discoverer_video_info_is_interlaced">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="info" type="GstDiscovererVideoInfo*"/>
+				</parameters>
+			</method>
+		</struct>
+		<struct name="GstDiscovererVideoInfoClass">
+		</struct>
 		<boxed name="GstInstallPluginsContext" type-name="GstInstallPluginsContext" get-type="gst_install_plugins_context_get_type">
 			<method name="free" symbol="gst_install_plugins_context_free">
 				<return-type type="void"/>
@@ -184,6 +505,14 @@
 				</parameters>
 			</method>
 		</boxed>
+		<enum name="GstDiscovererResult" type-name="GstDiscovererResult" get-type="gst_discoverer_result_get_type">
+			<member name="GST_DISCOVERER_OK" value="0"/>
+			<member name="GST_DISCOVERER_URI_INVALID" value="1"/>
+			<member name="GST_DISCOVERER_ERROR" value="2"/>
+			<member name="GST_DISCOVERER_TIMEOUT" value="3"/>
+			<member name="GST_DISCOVERER_BUSY" value="4"/>
+			<member name="GST_DISCOVERER_MISSING_PLUGINS" value="5"/>
+		</enum>
 		<enum name="GstInstallPluginsReturn" type-name="GstInstallPluginsReturn" get-type="gst_install_plugins_return_get_type">
 			<member name="GST_INSTALL_PLUGINS_SUCCESS" value="0"/>
 			<member name="GST_INSTALL_PLUGINS_NOT_FOUND" value="1"/>
@@ -197,5 +526,66 @@
 			<member name="GST_INSTALL_PLUGINS_HELPER_MISSING" value="202"/>
 			<member name="GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS" value="203"/>
 		</enum>
+		<object name="GstDiscoverer" parent="GObject" type-name="GstDiscoverer" get-type="gst_discoverer_get_type">
+			<method name="discover_uri" symbol="gst_discoverer_discover_uri">
+				<return-type type="GstDiscovererInfo*"/>
+				<parameters>
+					<parameter name="discoverer" type="GstDiscoverer*"/>
+					<parameter name="uri" type="gchar*"/>
+					<parameter name="err" type="GError**"/>
+				</parameters>
+			</method>
+			<method name="discover_uri_async" symbol="gst_discoverer_discover_uri_async">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="discoverer" type="GstDiscoverer*"/>
+					<parameter name="uri" type="gchar*"/>
+				</parameters>
+			</method>
+			<constructor name="new" symbol="gst_discoverer_new">
+				<return-type type="GstDiscoverer*"/>
+				<parameters>
+					<parameter name="timeout" type="GstClockTime"/>
+					<parameter name="err" type="GError**"/>
+				</parameters>
+			</constructor>
+			<method name="start" symbol="gst_discoverer_start">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="discoverer" type="GstDiscoverer*"/>
+				</parameters>
+			</method>
+			<method name="stop" symbol="gst_discoverer_stop">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="discoverer" type="GstDiscoverer*"/>
+				</parameters>
+			</method>
+			<property name="timeout" type="guint64" readable="1" writable="1" construct="1" construct-only="0"/>
+			<signal name="discovered" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="discoverer" type="GstDiscoverer*"/>
+					<parameter name="info" type="GstDiscovererInfo"/>
+					<parameter name="err" type="GError*"/>
+				</parameters>
+			</signal>
+			<signal name="finished" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="discoverer" type="GstDiscoverer*"/>
+				</parameters>
+			</signal>
+			<signal name="starting" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="discoverer" type="GstDiscoverer*"/>
+				</parameters>
+			</signal>
+		</object>
+		<constant name="GST_PLUGINS_BASE_VERSION_MAJOR" type="int" value="0"/>
+		<constant name="GST_PLUGINS_BASE_VERSION_MICRO" type="int" value="31"/>
+		<constant name="GST_PLUGINS_BASE_VERSION_MINOR" type="int" value="10"/>
+		<constant name="GST_PLUGINS_BASE_VERSION_NANO" type="int" value="1"/>
 	</namespace>
 </api>
diff --git a/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata b/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata
index f873f19..a7045c0 100644
--- a/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata
+++ b/vapi/packages/gstreamer-pbutils-0.10/gstreamer-pbutils-0.10.metadata
@@ -13,3 +13,57 @@ gst_missing_decoder_installer_detail_new transfer_ownership="1"
 gst_missing_encoder_installer_detail_new transfer_ownership="1"
 gst_install_plugins_async.details is_array="1" no_array_length="1"
 gst_install_plugins_async.ctx nullable="1"
+
+gst_codec_utils_aac_caps_set_level_and_profile.audio_config is_array="1" array_length_pos="2.9"
+gst_codec_utils_aac_caps_set_level_and_profile.len hidden="1"
+gst_codec_utils_aac_get_level.audio_config is_array="1" array_length_pos="1.9"
+gst_codec_utils_aac_get_level.len hidden="1"
+gst_codec_utils_aac_get_profile.audio_config is_array="1" array_length_pos="1.9"
+gst_codec_utils_aac_get_profile.len hidden="1"
+gst_codec_utils_h264_caps_set_level_and_profile.sps is_array="1" array_length_pos="2.9"
+gst_codec_utils_h264_caps_set_level_and_profile.len hidden="1"
+gst_codec_utils_h264_get_level.sps is_array="1" array_length_pos="1.9"
+gst_codec_utils_h264_get_level.len hidden="1"
+gst_codec_utils_h264_get_profile.sps is_array="1" array_length_pos="1.9"
+gst_codec_utils_h264_get_profile.len hidden="1"
+gst_codec_utils_mpeg4video_caps_set_level_and_profile.vis_obj_seq is_array="1" array_length_pos="2.9"
+gst_codec_utils_mpeg4video_caps_set_level_and_profile.len hidden="1"
+gst_codec_utils_mpeg4video_get_level.vis_obj_seq is_array="1" array_length_pos="1.9"
+gst_codec_utils_mpeg4video_get_level.len hidden="1"
+gst_codec_utils_mpeg4video_get_profile.vis_obj_seq is_array="1" array_length_pos="1.9"
+gst_codec_utils_mpeg4video_get_profile.len hidden="1"
+
+GstDiscovererStreamInfo base_class="GstMiniObject"
+GstDiscovererStreamInfoClass hidden="1"
+GstDiscovererAudioInfo base_class="GstDiscovererStreamInfo"
+GstDiscovererAudioInfoClass hidden="1"
+GstDiscovererContainerInfo base_class="GstDiscovererStreamInfo"
+GstDiscovererContainerInfoClass hidden="1"
+GstDiscovererVideoInfo base_class="GstDiscovererStreamInfo"
+GstDiscovererVideoInfoClass hidden="1"
+GstDiscovererInfo base_class="GstMiniObject"
+GstDiscovererInfoClass hidden="1"
+
+gst_discoverer_discover_uri transfer_ownership="1"
+
+# note, we're not using gst_discoverer_stream_information_list_free for freeing
+# the lists returned by the various getters below. This is fine for now since
+# Vala does the right thing (unrefs each element then g_list_free()). If either
+# the way these lists are supposed to be freed changes, or it becomes possible
+# to attach a free-function to a returned object, this needs to change.
+
+gst_discoverer_info_copy transfer_ownership="1" hidden="1"
+# The real type is actually an argument to the function, so we just use the parent class
+gst_discoverer_info_get_streams namespace_name="Gst" type_arguments="MiniObject" transfer_ownership="1"
+gst_discoverer_info_get_stream_list namespace_name="Gst" type_arguments="DiscovererStreamInfo" transfer_ownership="1"
+gst_discoverer_info_get_audio_streams namespace_name="Gst" type_arguments="DiscovererAudioInfo" transfer_ownership="1"
+gst_discoverer_info_get_container_streams namespace_name="Gst" type_arguments="DiscovererVideoInfo" transfer_ownership="1"
+gst_discoverer_info_get_video_streams namespace_name="Gst" type_arguments="DiscovererVideoInfo" transfer_ownership="1"
+gst_discoverer_info_get_stream_info transfer_ownership="1"
+
+gst_discoverer_stream_info_get_caps transfer_ownership="1"
+gst_discoverer_stream_info_get_next transfer_ownership="1"
+gst_discoverer_stream_info_get_previous transfer_ownership="1"
+
+# The real type is actually an argument to the function, so we just use the parent class
+gst_discoverer_container_info_get_streams namespace_name="Gst" type_arguments="MiniObject" transfer_ownership="1"



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