[vala/staging] gstreamer: Update from 1.15+ git master
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gstreamer: Update from 1.15+ git master
- Date: Wed, 16 Jan 2019 20:19:17 +0000 (UTC)
commit 2c8858473e27b2e4c7e9169fc531819f4924b0a1
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Jan 16 21:08:59 2019 +0100
gstreamer: Update from 1.15+ git master
vapi/gst-editing-services-1.0.vapi | 3 +++
vapi/gstreamer-1.0.vapi | 31 ++++---------------------------
vapi/gstreamer-allocators-1.0.vapi | 1 +
vapi/gstreamer-base-1.0.vapi | 2 ++
vapi/gstreamer-net-1.0.vapi | 2 +-
5 files changed, 11 insertions(+), 28 deletions(-)
---
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 71dc0f644..32187ca8f 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -283,6 +283,7 @@ namespace GES {
public Gst.Element video_sink { owned get; set; }
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_pitivi_formatter_get_type ()")]
+ [Version (deprecated = true, deprecated_since = "1.0")]
public class PitiviFormatter : GES.Formatter, GES.Extractable {
[CCode (has_construct_function = false)]
public PitiviFormatter ();
@@ -1051,6 +1052,8 @@ namespace GES {
[CCode (cheader_filename = "ges/ges.h")]
public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref
string[]? argv) throws GLib.Error;
[CCode (cheader_filename = "ges/ges.h")]
+ public static bool is_initialized ();
+ [CCode (cheader_filename = "ges/ges.h")]
public static GLib.List<weak GES.Asset> list_assets (GLib.Type filter);
[CCode (cheader_filename = "ges/ges.h")]
public static Gst.Sample play_sink_convert_frame (Gst.Element playsink, Gst.Caps caps);
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 00707a480..5c50b1500 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -899,55 +899,35 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/gst.h", copy_function = "g_boxed_copy", free_function =
"g_boxed_free", type_id = "gst_caps_features_get_type ()")]
[Compact]
+ [Version (since = "1.2")]
public class CapsFeatures {
[CCode (has_construct_function = false)]
- [Version (since = "1.2")]
public CapsFeatures (string feature1, ...);
- [Version (since = "1.2")]
public void add (string feature);
- [Version (since = "1.2")]
public void add_id (GLib.Quark feature);
[CCode (has_construct_function = false)]
- [Version (since = "1.2")]
public CapsFeatures.any ();
- [Version (since = "1.2")]
public bool contains (string feature);
- [Version (since = "1.2")]
public bool contains_id (GLib.Quark feature);
- [Version (since = "1.2")]
public Gst.CapsFeatures copy ();
[CCode (has_construct_function = false)]
- [Version (since = "1.2")]
public CapsFeatures.empty ();
- [Version (since = "1.2")]
public void free ();
- [Version (since = "1.2")]
public static Gst.CapsFeatures? from_string (string features);
- [Version (since = "1.2")]
public unowned string? get_nth (uint i);
- [Version (since = "1.2")]
public GLib.Quark get_nth_id (uint i);
- [Version (since = "1.2")]
public uint get_size ();
[CCode (has_construct_function = false)]
public CapsFeatures.id (params GLib.Quark[] features);
[CCode (has_construct_function = false)]
- [Version (since = "1.2")]
public CapsFeatures.id_valist (GLib.Quark feature1, va_list varargs);
- [Version (since = "1.2")]
public bool is_any ();
- [Version (since = "1.2")]
public bool is_equal (Gst.CapsFeatures features2);
- [Version (since = "1.2")]
public void remove (string feature);
- [Version (since = "1.2")]
public void remove_id (GLib.Quark feature);
- [Version (since = "1.2")]
public bool set_parent_refcount (int refcount);
- [Version (since = "1.2")]
public string to_string ();
[CCode (has_construct_function = false)]
- [Version (since = "1.2")]
public CapsFeatures.valist (string feature1, va_list varargs);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_clock_get_type ()")]
@@ -1012,19 +992,14 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/gst.h", copy_function = "g_boxed_copy", free_function =
"g_boxed_free", type_id = "gst_context_get_type ()")]
[Compact]
+ [Version (since = "1.2")]
public class Context {
[CCode (has_construct_function = false)]
- [Version (since = "1.2")]
public Context (string context_type, bool persistent);
- [Version (since = "1.2")]
public unowned string get_context_type ();
- [Version (since = "1.2")]
public unowned Gst.Structure get_structure ();
- [Version (since = "1.2")]
public bool has_context_type (string context_type);
- [Version (since = "1.2")]
public bool is_persistent ();
- [Version (since = "1.2")]
public Gst.Structure writable_structure ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_control_binding_get_type ()")]
@@ -2551,6 +2526,7 @@ namespace Gst {
public void set_tags (owned Gst.TagList? tags);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_tracer_get_type ()")]
+ [Version (since = "1.8")]
public abstract class Tracer : Gst.Object {
[CCode (has_construct_function = false)]
protected Tracer ();
@@ -2566,6 +2542,7 @@ namespace Gst {
public GLib.Type get_tracer_type ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_tracer_record_get_type ()")]
+ [Version (since = "1.8")]
public class TracerRecord : Gst.Object {
[CCode (has_construct_function = false)]
protected TracerRecord ();
diff --git a/vapi/gstreamer-allocators-1.0.vapi b/vapi/gstreamer-allocators-1.0.vapi
index 400092471..799e9b066 100644
--- a/vapi/gstreamer-allocators-1.0.vapi
+++ b/vapi/gstreamer-allocators-1.0.vapi
@@ -25,6 +25,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstPhysMemoryAllocator",
lower_case_cprefix = "gst_phys_memory_allocator_", type_cname = "GstPhysMemoryAllocatorInterface", type_id =
"gst_phys_memory_allocator_get_type ()")]
[GIR (name = "PhysMemoryAllocator")]
+ [Version (since = "1.14")]
public interface PhysMemoryAllocator : Gst.Allocator {
[NoWrapper]
public abstract uintptr get_phys_addr (Gst.Memory mem);
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index 43354d9d5..cc40f6e6c 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -55,6 +55,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/base/base.h", cname = "GstAggregator", lower_case_cprefix =
"gst_aggregator_", type_id = "gst_aggregator_get_type ()")]
[GIR (name = "Aggregator")]
+ [Version (since = "1.14")]
public abstract class Aggregator : Gst.Element {
public weak Gst.Pad srcpad;
[CCode (has_construct_function = false)]
@@ -109,6 +110,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/base/base.h", cname = "GstAggregatorPad", lower_case_cprefix
= "gst_aggregator_pad_", type_id = "gst_aggregator_pad_get_type ()")]
[GIR (name = "AggregatorPad")]
+ [Version (since = "1.14")]
public class AggregatorPad : Gst.Pad {
public weak Gst.Segment segment;
[CCode (has_construct_function = false)]
diff --git a/vapi/gstreamer-net-1.0.vapi b/vapi/gstreamer-net-1.0.vapi
index 17019356a..33d122082 100644
--- a/vapi/gstreamer-net-1.0.vapi
+++ b/vapi/gstreamer-net-1.0.vapi
@@ -34,9 +34,9 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/net/net.h", cname = "GstPtpClock", lower_case_cprefix =
"gst_ptp_clock_", type_id = "gst_ptp_clock_get_type ()")]
[GIR (name = "PtpClock")]
+ [Version (since = "1.6")]
public class PtpClock : Gst.SystemClock {
[CCode (has_construct_function = false, type = "GstClock*")]
- [Version (since = "1.6")]
public PtpClock (string name, uint domain);
[NoAccessorMethod]
public uint domain { get; construct; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]