Initial commit
[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 Discoverer : 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.TagList current_tags;
12                 public weak Gst.Structure current_topology;
13                 public GLib.Type decodebin2_type;
14                 public weak GLib.Mutex @lock;
15                 public weak GLib.List pending_uris;
16                 public weak Gst.Bin pipeline;
17                 public bool running;
18                 public weak GLib.List streams;
19                 public weak Gst.Element uridecodebin;
20                 [CCode (has_construct_function = false)]
21                 public Discoverer (Gst.ClockTime timeout);
22                 public bool append_uri (string uri);
23                 public Gst.DiscovererInformation discover_uri (string uri) throws GLib.Error;
24                 public void start ();
25                 public void stop ();
26                 [NoAccessorMethod]
27                 public uint64 timeout { get; set construct; }
28                 public virtual signal void discovered (Gst.DiscovererInformation info, GLib.Error err);
29                 public virtual signal void ready ();
30                 public virtual signal void starting ();
31         }
32         [Compact]
33         [CCode (copy_function = "gst_discoverer_information_copy", type_id = "GST_TYPE_DISCOVERER_INFORMATION", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
34         public class DiscovererInformation {
35                 public Gst.ClockTime duration;
36                 public weak Gst.Structure misc;
37                 public Gst.DiscovererResult result;
38                 public weak Gst.StreamInformation stream_info;
39                 public weak GLib.List<Gst.StreamInformation> stream_list;
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 }