gst-convenience: Change GstDiscoverer namespace
[gupnp:gupnp-dlna.git] / gst-convenience / gstreamer-discoverer-gupnp-dlna-0.10.vapi
1 /* gstreamer-discoverer-0.10.vapi generated by vapigen, do not modify. */
2
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         [CCode (cheader_filename = "gst/discoverer/gstdiscoverer.h")]
6         public class DiscovererInternal : GLib.Object {
7                 public bool @async;
8                 public weak Gst.Bus bus;
9                 public weak GLib.Error current_error;
10                 public weak Gst.DiscovererInformation current_info;
11                 public weak Gst.Structure current_topology;
12                 public GLib.Type decodebin2_type;
13                 public weak GLib.Mutex @lock;
14                 public weak GLib.List pending_uris;
15                 public weak Gst.Bin pipeline;
16                 public bool running;
17                 public weak GLib.List streams;
18                 public weak Gst.Element uridecodebin;
19                 [CCode (has_construct_function = false)]
20                 public DiscovererInternal (Gst.ClockTime timeout);
21                 public bool append_uri (string uri);
22                 public Gst.DiscovererInformation discover_uri (string uri) throws GLib.Error;
23                 public void start ();
24                 public void stop ();
25                 [NoAccessorMethod]
26                 public uint64 timeout { get; set construct; }
27                 public virtual signal void discovered (Gst.DiscovererInformation info, GLib.Error err);
28                 public virtual signal void ready ();
29                 public virtual signal void starting ();
30         }
31         [Compact]
32         [CCode (copy_function = "gst_discoverer_information_copy", type_id = "GST_TYPE_DISCOVERER_INFORMATION", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
33         public class DiscovererInformation {
34                 public Gst.ClockTime duration;
35                 public weak Gst.Structure misc;
36                 public Gst.DiscovererResult result;
37                 public weak Gst.StreamInformation stream_info;
38                 public weak GLib.List<Gst.StreamInformation> stream_list;
39                 public weak Gst.TagList tags;
40                 public weak string uri;
41                 [CCode (has_construct_function = false)]
42                 public DiscovererInformation ();
43         }
44         [Compact]
45         [CCode (copy_function = "gst_stream_audio_information_copy", type_id = "GST_TYPE_STREAM_AUDIO_INFORMATION", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
46         public class StreamAudioInformation : Gst.StreamInformation {
47                 public uint bitrate;
48                 public uint channels;
49                 public uint depth;
50                 public bool is_vbr;
51                 public uint max_bitrate;
52                 public uint sample_rate;
53                 [CCode (has_construct_function = false)]
54                 public StreamAudioInformation ();
55         }
56         [Compact]
57         [CCode (copy_function = "gst_stream_container_information_copy", type_id = "GST_TYPE_STREAM_CONTAINER_INFORMATION", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
58         public class StreamContainerInformation : Gst.StreamInformation {
59                 public weak GLib.List streams;
60                 [CCode (has_construct_function = false)]
61                 public StreamContainerInformation ();
62         }
63         [Compact]
64         [CCode (copy_function = "gst_stream_information_copy", type_id = "GST_TYPE_STREAM_INFORMATION", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
65         public class StreamInformation {
66                 public weak Gst.Caps caps;
67                 public weak Gst.Structure misc;
68                 public weak Gst.StreamInformation next;
69                 public weak Gst.StreamInformation previous;
70                 public Gst.StreamType streamtype;
71                 public weak Gst.TagList tags;
72                 [CCode (has_construct_function = false)]
73                 public StreamInformation ();
74         }
75         [Compact]
76         [CCode (copy_function = "gst_stream_video_information_copy", type_id = "GST_TYPE_STREAM_VIDEO_INFORMATION", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
77         public class StreamVideoInformation : Gst.StreamInformation {
78                 public uint depth;
79                 public Gst.VideoFormat format;
80                 public Gst.Value frame_rate;
81                 public uint height;
82                 public bool interlaced;
83                 public Gst.Value pixel_aspect_ratio;
84                 public uint width;
85                 [CCode (has_construct_function = false)]
86                 public StreamVideoInformation ();
87         }
88         [CCode (cprefix = "GST_DISCOVERER_", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
89         [Flags]
90         public enum DiscovererResult {
91                 OK,
92                 URI_INVALID,
93                 ERROR,
94                 TIMEOUT,
95                 BUSY,
96                 MISSING_PLUGINS
97         }
98         [CCode (cprefix = "GST_STREAM_", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
99         public enum StreamType {
100                 CONTAINER,
101                 AUDIO,
102                 VIDEO,
103                 IMAGE,
104                 UNKNOWN
105         }
106 }