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 DiscovererStreamInfo : GLib.Object {
14 public DiscovererStreamInfo (IntPtr raw) : base(raw) {}
16 protected DiscovererStreamInfo() : 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_stream_info_get_type();
24 public static new GLib.GType GType {
26 IntPtr raw_ret = gst_discoverer_stream_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 void gst_discoverer_stream_info_list_free(IntPtr infos);
35 public static void ListFree(GLib.List infos) {
36 gst_discoverer_stream_info_list_free(infos == null ? IntPtr.Zero : infos.Handle);
39 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
40 static extern IntPtr gst_discoverer_stream_info_get_caps(IntPtr raw);
42 public Gst.Caps Caps {
44 IntPtr raw_ret = gst_discoverer_stream_info_get_caps(Handle);
45 Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true);
50 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
51 static extern IntPtr gst_discoverer_stream_info_get_misc(IntPtr raw);
54 public Gst.Structure Misc {
56 IntPtr raw_ret = gst_discoverer_stream_info_get_misc(Handle);
57 Gst.Structure ret = raw_ret == IntPtr.Zero ? null : (Gst.Structure) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Structure), false);
62 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
63 static extern IntPtr gst_discoverer_stream_info_get_next(IntPtr raw);
65 public Gst.PbUtils.DiscovererStreamInfo Next {
67 IntPtr raw_ret = gst_discoverer_stream_info_get_next(Handle);
68 Gst.PbUtils.DiscovererStreamInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererStreamInfo;
73 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
74 static extern IntPtr gst_discoverer_stream_info_get_previous(IntPtr raw);
76 public Gst.PbUtils.DiscovererStreamInfo Previous {
78 IntPtr raw_ret = gst_discoverer_stream_info_get_previous(Handle);
79 Gst.PbUtils.DiscovererStreamInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererStreamInfo;
84 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
85 static extern IntPtr gst_discoverer_stream_info_get_stream_id(IntPtr raw);
87 public string StreamId {
89 IntPtr raw_ret = gst_discoverer_stream_info_get_stream_id(Handle);
90 string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
95 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
96 static extern IntPtr gst_discoverer_stream_info_get_stream_type_nick(IntPtr raw);
98 public string StreamTypeNick {
100 IntPtr raw_ret = gst_discoverer_stream_info_get_stream_type_nick(Handle);
101 string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
106 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
107 static extern IntPtr gst_discoverer_stream_info_get_tags(IntPtr raw);
109 public Gst.TagList Tags {
111 IntPtr raw_ret = gst_discoverer_stream_info_get_tags(Handle);
112 Gst.TagList ret = raw_ret == IntPtr.Zero ? null : (Gst.TagList) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.TagList), false);
117 [DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
118 static extern IntPtr gst_discoverer_stream_info_get_toc(IntPtr raw);
122 IntPtr raw_ret = gst_discoverer_stream_info_get_toc(Handle);
123 Gst.Toc ret = Gst.Toc.New (raw_ret);
129 static DiscovererStreamInfo ()
131 GtkSharp.GstreamerSharp.ObjectManager.Initialize ();