1
/* gstreamer-app-1.0.vapi generated by vapigen, do not modify. */
3
[CCode (cprefix = "Gst", gir_namespace = "GstApp", gir_version = "1.0", lower_case_cprefix = "gst_")]
6
[CCode (cheader_filename = "gst/app/gstappsink.h,gst/app/gstappsrc.h", type_id = "gst_app_sink_get_type ()")]
7
[GIR (name = "AppSink")]
8
public class Sink : Gst.Base.Sink, Gst.URIHandler {
9
[CCode (has_construct_function = false)]
11
public Gst.Caps get_caps ();
12
public bool get_drop ();
13
public bool get_emit_signals ();
14
public uint get_max_buffers ();
15
public bool is_eos ();
17
public virtual Gst.FlowReturn new_preroll ();
19
public virtual Gst.FlowReturn new_sample ();
20
public void set_caps (Gst.Caps caps);
21
public void set_drop (bool drop);
22
public void set_emit_signals (bool emit);
23
public void set_max_buffers (uint max);
24
public Gst.Caps caps { owned get; set; }
25
public bool drop { get; set; }
26
public bool emit_signals { get; set; }
28
public virtual bool eos { get; }
29
public uint max_buffers { get; set; }
31
public virtual signal Gst.Sample pull_preroll ();
33
public virtual signal Gst.Sample pull_sample ();
35
[CCode (cheader_filename = "gst/app/gstappsink.h,gst/app/gstappsrc.h", type_id = "gst_app_src_get_type ()")]
36
[GIR (name = "AppSrc")]
37
public class Src : Gst.Base.Src, Gst.URIHandler {
38
[CCode (has_construct_function = false)]
40
public virtual Gst.FlowReturn end_of_stream ();
41
public Gst.Caps get_caps ();
42
public bool get_emit_signals ();
43
public void get_latency (uint64 min, uint64 max);
44
public uint64 get_max_bytes ();
45
public int64 get_size ();
46
public Gst.App.StreamType get_stream_type ();
47
public virtual Gst.FlowReturn push_buffer (owned Gst.Buffer buffer);
48
public void set_caps (Gst.Caps caps);
49
public void set_emit_signals (bool emit);
50
public void set_latency (uint64 min, uint64 max);
51
public void set_max_bytes (uint64 max);
52
public void set_size (int64 size);
53
public void set_stream_type (Gst.App.StreamType type);
55
public bool block { get; set; }
56
public Gst.Caps caps { owned get; set; }
57
public bool emit_signals { get; set; }
59
public bool is_live { get; set; }
60
public uint64 max_bytes { get; set; }
62
public int64 max_latency { get; set; }
64
public int64 min_latency { get; set; }
66
public uint min_percent { get; set; }
67
public int64 size { get; set; }
68
public Gst.App.StreamType stream_type { get; set; }
69
public virtual signal void enough_data ();
70
public virtual signal void need_data (uint length);
71
public virtual signal bool seek_data (uint64 offset);
73
[CCode (cheader_filename = "gst/app/gstappsink.h,gst/app/gstappsrc.h", cprefix = "GST_APP_STREAM_TYPE_", type_id = "gst_app_stream_type_get_type ()")]
74
[GIR (name = "AppStreamType")]
75
public enum StreamType {