[vala/0.34] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.34] vapi: Update GIR-based bindings
- Date: Wed, 19 Oct 2016 10:24:52 +0000 (UTC)
commit 8ab8eca93eb977ec08862aecf39c2508efafe986
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Oct 12 18:18:32 2016 +0200
vapi: Update GIR-based bindings
vapi/gstreamer-1.0.vapi | 1 +
vapi/gstreamer-app-1.0.vapi | 19 +++++++++++--------
2 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 933e44a..51387f5 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -2824,6 +2824,7 @@ namespace Gst {
[Flags]
public enum BinFlags {
NO_RESYNC,
+ STREAMS_AWARE,
LAST
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BUFFER_COPY_", type_id =
"gst_buffer_copy_flags_get_type ()")]
diff --git a/vapi/gstreamer-app-1.0.vapi b/vapi/gstreamer-app-1.0.vapi
index 7967d9e..fe2ab69 100644
--- a/vapi/gstreamer-app-1.0.vapi
+++ b/vapi/gstreamer-app-1.0.vapi
@@ -14,10 +14,6 @@ namespace Gst {
public uint get_max_buffers ();
public bool get_wait_on_eos ();
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);
@@ -30,6 +26,8 @@ namespace Gst {
public virtual bool eos { get; }
public uint max_buffers { get; set; }
public bool wait_on_eos { get; set; }
+ public virtual signal Gst.FlowReturn new_preroll ();
+ public virtual signal Gst.FlowReturn new_sample ();
[HasEmitter]
public virtual signal Gst.Sample pull_preroll ();
[HasEmitter]
@@ -46,7 +44,6 @@ namespace Gst {
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 ();
[Version (since = "1.2")]
public uint64 get_current_level_bytes ();
@@ -57,9 +54,6 @@ namespace Gst {
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);
- [Version (since = "1.6")]
- public virtual Gst.FlowReturn push_sample (Gst.Sample sample);
public void set_caps (Gst.Caps caps);
[Version (since = "1.10")]
public void set_duration (Gst.ClockTime duration);
@@ -75,6 +69,8 @@ namespace Gst {
public uint64 duration { get; set; }
public bool emit_signals { get; set; }
[NoAccessorMethod]
+ public Gst.Format format { get; set; }
+ [NoAccessorMethod]
public bool is_live { get; set; }
public uint64 max_bytes { get; set; }
[NoAccessorMethod]
@@ -85,8 +81,15 @@ namespace Gst {
public uint min_percent { get; set; }
public int64 size { get; set; }
public Gst.App.StreamType stream_type { get; set; }
+ [HasEmitter]
+ public virtual signal Gst.FlowReturn end_of_stream ();
public virtual signal void enough_data ();
public virtual signal void need_data (uint length);
+ [HasEmitter]
+ public virtual signal Gst.FlowReturn push_buffer (Gst.Buffer buffer);
+ [HasEmitter]
+ [Version (since = "1.6")]
+ public virtual signal Gst.FlowReturn push_sample (Gst.Sample sample);
public virtual signal bool seek_data (uint64 offset);
}
[CCode (cheader_filename = "gst/app/app.h", cprefix = "GST_APP_STREAM_TYPE_", type_id =
"gst_app_stream_type_get_type ()")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]