1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
4 namespace Gst.PbUtils {
7 using System.Collections;
8 using System.Collections.Generic;
9 using System.Runtime.InteropServices;
11 #region Autogenerated code
12 public partial class DiscovererInfo : GLib.Object {
14 public DiscovererInfo (IntPtr raw) : base(raw) {}
16 protected DiscovererInfo() : base(IntPtr.Zero)
18 CreateNativeObject (new string [0], new GLib.Value [0]);
21 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
22 static extern IntPtr gst_discoverer_info_get_type();
24 public static new GLib.GType GType {
26 IntPtr raw_ret = gst_discoverer_info_get_type();
27 GLib.GType ret = new GLib.GType(raw_ret);
32 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
33 static extern IntPtr gst_discoverer_info_from_variant(IntPtr variant);
35 public static Gst.PbUtils.DiscovererInfo FromVariant(GLib.Variant variant) {
36 IntPtr raw_ret = gst_discoverer_info_from_variant(variant == null ? IntPtr.Zero : variant.Handle);
37 Gst.PbUtils.DiscovererInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererInfo;
41 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
42 static extern IntPtr gst_discoverer_info_copy(IntPtr raw);
44 public Gst.PbUtils.DiscovererInfo Copy() {
45 IntPtr raw_ret = gst_discoverer_info_copy(Handle);
46 Gst.PbUtils.DiscovererInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererInfo;
50 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
51 static extern IntPtr gst_discoverer_info_get_audio_streams(IntPtr raw);
53 public Gst.PbUtils.DiscovererStreamInfo[] AudioStreams {
55 IntPtr raw_ret = gst_discoverer_info_get_audio_streams(Handle);
56 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
61 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
62 static extern IntPtr gst_discoverer_info_get_container_streams(IntPtr raw);
64 public Gst.PbUtils.DiscovererStreamInfo[] ContainerStreams {
66 IntPtr raw_ret = gst_discoverer_info_get_container_streams(Handle);
67 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
72 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
73 static extern ulong gst_discoverer_info_get_duration(IntPtr raw);
75 public ulong Duration {
77 ulong raw_ret = gst_discoverer_info_get_duration(Handle);
83 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
84 static extern bool gst_discoverer_info_get_live(IntPtr raw);
88 bool raw_ret = gst_discoverer_info_get_live(Handle);
94 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
95 static extern IntPtr gst_discoverer_info_get_misc(IntPtr raw);
98 public Gst.Structure Misc {
100 IntPtr raw_ret = gst_discoverer_info_get_misc(Handle);
101 Gst.Structure ret = raw_ret == IntPtr.Zero ? null : (Gst.Structure) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Structure), false);
106 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
107 static extern IntPtr gst_discoverer_info_get_missing_elements_installer_details(IntPtr raw);
109 public string[] MissingElementsInstallerDetails {
111 IntPtr raw_ret = gst_discoverer_info_get_missing_elements_installer_details(Handle);
112 string[] ret = GLib.Marshaller.NullTermPtrToStringArray (raw_ret, false);
117 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
118 static extern int gst_discoverer_info_get_result(IntPtr raw);
120 public Gst.PbUtils.DiscovererResult Result {
122 int raw_ret = gst_discoverer_info_get_result(Handle);
123 Gst.PbUtils.DiscovererResult ret = (Gst.PbUtils.DiscovererResult) raw_ret;
128 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
129 static extern bool gst_discoverer_info_get_seekable(IntPtr raw);
131 public bool Seekable {
133 bool raw_ret = gst_discoverer_info_get_seekable(Handle);
139 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
140 static extern IntPtr gst_discoverer_info_get_stream_info(IntPtr raw);
142 public Gst.PbUtils.DiscovererStreamInfo StreamInfo {
144 IntPtr raw_ret = gst_discoverer_info_get_stream_info(Handle);
145 Gst.PbUtils.DiscovererStreamInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererStreamInfo;
150 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
151 static extern IntPtr gst_discoverer_info_get_stream_list(IntPtr raw);
153 public Gst.PbUtils.DiscovererStreamInfo[] StreamList {
155 IntPtr raw_ret = gst_discoverer_info_get_stream_list(Handle);
156 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
161 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
162 static extern IntPtr gst_discoverer_info_get_streams(IntPtr raw, IntPtr streamtype);
164 public Gst.PbUtils.DiscovererStreamInfo[] GetStreams(GLib.GType streamtype) {
165 IntPtr raw_ret = gst_discoverer_info_get_streams(Handle, streamtype.Val);
166 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
170 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
171 static extern IntPtr gst_discoverer_info_get_subtitle_streams(IntPtr raw);
173 public Gst.PbUtils.DiscovererStreamInfo[] SubtitleStreams {
175 IntPtr raw_ret = gst_discoverer_info_get_subtitle_streams(Handle);
176 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
181 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
182 static extern IntPtr gst_discoverer_info_get_tags(IntPtr raw);
184 public Gst.TagList Tags {
186 IntPtr raw_ret = gst_discoverer_info_get_tags(Handle);
187 Gst.TagList ret = raw_ret == IntPtr.Zero ? null : (Gst.TagList) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.TagList), false);
192 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
193 static extern IntPtr gst_discoverer_info_get_toc(IntPtr raw);
197 IntPtr raw_ret = gst_discoverer_info_get_toc(Handle);
198 Gst.Toc ret = Gst.Toc.New (raw_ret);
203 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
204 static extern IntPtr gst_discoverer_info_get_uri(IntPtr raw);
208 IntPtr raw_ret = gst_discoverer_info_get_uri(Handle);
209 string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
214 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
215 static extern IntPtr gst_discoverer_info_get_video_streams(IntPtr raw);
217 public Gst.PbUtils.DiscovererStreamInfo[] VideoStreams {
219 IntPtr raw_ret = gst_discoverer_info_get_video_streams(Handle);
220 Gst.PbUtils.DiscovererStreamInfo[] ret = (Gst.PbUtils.DiscovererStreamInfo[]) GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, true, typeof(Gst.PbUtils.DiscovererStreamInfo));
225 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
226 static extern IntPtr gst_discoverer_info_to_variant(IntPtr raw, int flags);
228 public GLib.Variant ToVariant(Gst.PbUtils.DiscovererSerializeFlags flags) {
229 IntPtr raw_ret = gst_discoverer_info_to_variant(Handle, (int) flags);
230 GLib.Variant ret = new GLib.Variant(raw_ret);
235 static DiscovererInfo ()
237 GtkSharp.GstreamerSharp.ObjectManager.Initialize ();