1 /* gstreamer-discoverer-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
5 [CCode (cheader_filename = "gst/discoverer/gstdiscoverer.h")]
6 public class Discoverer : GLib.Object {
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;
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;
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 ();
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 ();
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 {
51 public uint max_bitrate;
52 public uint sample_rate;
53 [CCode (has_construct_function = false)]
54 public StreamAudioInformation ();
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 ();
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 ();
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 {
79 public Gst.VideoFormat format;
80 public Gst.Value frame_rate;
82 public bool interlaced;
83 public Gst.Value pixel_aspect_ratio;
85 [CCode (has_construct_function = false)]
86 public StreamVideoInformation ();
88 [CCode (cprefix = "GST_DISCOVERER_", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
90 public enum DiscovererResult {
98 [CCode (cprefix = "GST_STREAM_", cheader_filename = "gst/discoverer/gstdiscoverer.h")]
99 public enum StreamType {