/usr/share/vala-0.20/vapi/gstreamer-app-1.0.vapi is in valac-0.20-vapi 0.20.1-2ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | /* gstreamer-app-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstApp", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace App {
[CCode (cheader_filename = "gst/app/gstappsink.h,gst/app/gstappsrc.h", type_id = "gst_app_sink_get_type ()")]
[GIR (name = "AppSink")]
public class Sink : Gst.Base.Sink, Gst.URIHandler {
[CCode (has_construct_function = false)]
protected Sink ();
public Gst.Caps get_caps ();
public bool get_drop ();
public bool get_emit_signals ();
public uint get_max_buffers ();
public bool is_eos ();
[NoWrapper]
public virtual Gst.FlowReturn new_preroll ();
[NoWrapper]
public virtual Gst.FlowReturn new_sample ();
public void set_caps (Gst.Caps caps);
public void set_drop (bool drop);
public void set_emit_signals (bool emit);
public void set_max_buffers (uint max);
public Gst.Caps caps { owned get; set; }
public bool drop { get; set; }
public bool emit_signals { get; set; }
[NoAccessorMethod]
public virtual bool eos { get; }
public uint max_buffers { get; set; }
[HasEmitter]
public virtual signal Gst.Sample pull_preroll ();
[HasEmitter]
public virtual signal Gst.Sample pull_sample ();
}
[CCode (cheader_filename = "gst/app/gstappsink.h,gst/app/gstappsrc.h", type_id = "gst_app_src_get_type ()")]
[GIR (name = "AppSrc")]
public class Src : Gst.Base.Src, Gst.URIHandler {
[CCode (has_construct_function = false)]
protected Src ();
public virtual Gst.FlowReturn end_of_stream ();
public Gst.Caps get_caps ();
public bool get_emit_signals ();
public void get_latency (uint64 min, uint64 max);
public uint64 get_max_bytes ();
public int64 get_size ();
public Gst.App.StreamType get_stream_type ();
public virtual Gst.FlowReturn push_buffer (owned Gst.Buffer buffer);
public void set_caps (Gst.Caps caps);
public void set_emit_signals (bool emit);
public void set_latency (uint64 min, uint64 max);
public void set_max_bytes (uint64 max);
public void set_size (int64 size);
public void set_stream_type (Gst.App.StreamType type);
[NoAccessorMethod]
public bool block { get; set; }
public Gst.Caps caps { owned get; set; }
public bool emit_signals { get; set; }
[NoAccessorMethod]
public bool is_live { get; set; }
public uint64 max_bytes { get; set; }
[NoAccessorMethod]
public int64 max_latency { get; set; }
[NoAccessorMethod]
public int64 min_latency { get; set; }
[NoAccessorMethod]
public uint min_percent { get; set; }
public int64 size { get; set; }
public Gst.App.StreamType stream_type { get; set; }
public virtual signal void enough_data ();
public virtual signal void need_data (uint length);
public virtual signal bool seek_data (uint64 offset);
}
[CCode (cheader_filename = "gst/app/gstappsink.h,gst/app/gstappsrc.h", cprefix = "GST_APP_STREAM_TYPE_", type_id = "gst_app_stream_type_get_type ()")]
[GIR (name = "AppStreamType")]
public enum StreamType {
STREAM,
SEEKABLE,
RANDOM_ACCESS
}
}
}
|