1 /* gstreamer-app-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
5 [CCode (cheader_filename = "gst/app/gstappsink.h")]
6 public class AppSink : Gst.BaseSink, Gst.URIHandler {
7 [CCode (has_construct_function = false)]
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 ();
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;
31 [CCode (cheader_filename = "gst/app/gstappsrc.h")]
32 public class AppSrc : Gst.BaseSrc, Gst.URIHandler {
33 [CCode (has_construct_function = false)]
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);
39 public bool block { get; set; }
40 public Gst.Caps caps { get; set; }
41 public bool emit_signals { get; set; }
43 public Gst.Format format { get; set; }
45 public bool is_live { get; set; }
46 public uint64 max_bytes { get; set; }
48 public int64 max_latency { get; set; }
50 public int64 min_latency { get; set; }
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);
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;
66 [CCode (cprefix = "GST_APP_STREAM_TYPE_", has_type_id = false, cheader_filename = "gst/app/gstappsrc.h")]
67 public enum AppStreamType {