D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / gstreamer-app-0.10.vapi
blob3e2a2501764c630eeddd8e5f1b1ccde123288390
1 /* gstreamer-app-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         [CCode (cheader_filename = "gst/app/gstappsink.h")]
6         public class AppSink : Gst.BaseSink, Gst.URIHandler {
7                 [CCode (has_construct_function = false)]
8                 protected AppSink ();
9                 public bool is_eos ();
10                 public Gst.Buffer pull_buffer ();
11                 public Gst.BufferList pull_buffer_list ();
12                 public Gst.Buffer pull_preroll ();
13                 public void set_callbacks (Gst.AppSinkCallbacks callbacks, GLib.DestroyNotify notify);
14                 public Gst.Caps caps { get; set; }
15                 public bool drop { get; set; }
16                 public bool emit_signals { get; set; }
17                 public uint max_buffers { get; set; }
18                 public virtual signal void eos ();
19                 public virtual signal void new_buffer ();
20                 public virtual signal void new_buffer_list ();
21                 public virtual signal void new_preroll ();
22         }
23         [Compact]
24         [CCode (cheader_filename = "gst/app/gstappsink.h")]
25         public class AppSinkCallbacks {
26                 public weak GLib.Callback eos;
27                 public weak GLib.Callback new_buffer;
28                 public weak GLib.Callback new_buffer_list;
29                 public weak GLib.Callback new_preroll;
30         }
31         [CCode (cheader_filename = "gst/app/gstappsrc.h")]
32         public class AppSrc : Gst.BaseSrc, Gst.URIHandler {
33                 [CCode (has_construct_function = false)]
34                 protected AppSrc ();
35                 public Gst.FlowReturn end_of_stream ();
36                 public Gst.FlowReturn push_buffer (owned Gst.Buffer buffer);
37                 public void set_callbacks (Gst.AppSrcCallbacks callbacks, GLib.DestroyNotify notify);
38                 [NoAccessorMethod]
39                 public bool block { get; set; }
40                 public Gst.Caps caps { get; set; }
41                 public bool emit_signals { get; set; }
42                 [NoAccessorMethod]
43                 public Gst.Format format { get; set; }
44                 [NoAccessorMethod]
45                 public bool is_live { get; set; }
46                 public uint64 max_bytes { get; set; }
47                 [NoAccessorMethod]
48                 public int64 max_latency { get; set; }
49                 [NoAccessorMethod]
50                 public int64 min_latency { get; set; }
51                 [NoAccessorMethod]
52                 public uint min_percent { get; set; }
53                 public int64 size { get; set; }
54                 public Gst.AppStreamType stream_type { get; set; }
55                 public virtual signal void enough_data ();
56                 public virtual signal void need_data (uint length);
57                 public virtual signal bool seek_data (uint64 offset);
58         }
59         [Compact]
60         [CCode (cheader_filename = "gst/app/gstappsrc.h")]
61         public class AppSrcCallbacks {
62                 public weak GLib.Callback enough_data;
63                 public weak GLib.Callback need_data;
64                 public weak GLib.Callback seek_data;
65         }
66         [CCode (cprefix = "GST_APP_STREAM_TYPE_", has_type_id = false, cheader_filename = "gst/app/gstappsrc.h")]
67         public enum AppStreamType {
68                 STREAM,
69                 SEEKABLE,
70                 RANDOM_ACCESS
71         }