[vala/staging] gstreamer-1.0: Update from 1.13+ git master
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gstreamer-1.0: Update from 1.13+ git master
- Date: Wed, 7 Feb 2018 16:51:04 +0000 (UTC)
commit 53b24f4722e49450a1a1361798b4ecf960392ec1
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Feb 7 17:42:53 2018 +0100
gstreamer-1.0: Update from 1.13+ git master
vapi/gstreamer-1.0.vapi | 132 ++++++++++++++++++++++-------------------
vapi/gstreamer-base-1.0.vapi | 8 +-
vapi/gstreamer-video-1.0.vapi | 16 +++++-
3 files changed, 89 insertions(+), 67 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 521f5ef..93ee837 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -37,7 +37,7 @@ namespace Gst {
public static Gst.DebugLevel get_default_threshold ();
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.12")]
- public static string get_stack_trace (Gst.StackTraceFlags flags);
+ public static string? get_stack_trace (Gst.StackTraceFlags flags);
[CCode (cheader_filename = "gst/gst.h")]
public static bool is_active ();
[CCode (cheader_filename = "gst/gst.h")]
@@ -348,11 +348,11 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_exists")]
public static bool exists (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_get_description")]
- public static unowned string get_description (string tag);
+ public static unowned string? get_description (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_get_flag")]
public static Gst.TagFlag get_flag (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_get_nick")]
- public static unowned string get_nick (string tag);
+ public static unowned string? get_nick (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_get_type")]
public static GLib.Type get_type (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_is_fixed")]
@@ -377,9 +377,9 @@ namespace Gst {
[Version (since = "1.6")]
public static Gst.Uri? from_string (string uri);
[CCode (cheader_filename = "gst/gst.h")]
- public static string get_location (string uri);
+ public static string? get_location (string uri);
[CCode (cheader_filename = "gst/gst.h")]
- public static string get_protocol (string uri);
+ public static string? get_protocol (string uri);
[CCode (cheader_filename = "gst/gst.h")]
public static bool has_protocol (string uri, string protocol);
[CCode (cheader_filename = "gst/gst.h")]
@@ -557,7 +557,7 @@ namespace Gst {
public Gst.MemoryFlags flags;
public size_t padding;
public size_t prefix;
- public Gst.AllocationParams copy ();
+ public Gst.AllocationParams? copy ();
public void free ();
public void init ();
}
@@ -573,7 +573,7 @@ namespace Gst {
public weak Gst.MemoryUnmapFullFunction mem_unmap_full;
[CCode (has_construct_function = false)]
protected Allocator ();
- public virtual Gst.Memory alloc (size_t size, Gst.AllocationParams? @params);
+ public virtual Gst.Memory? alloc (size_t size, Gst.AllocationParams? @params);
public static Gst.Allocator? find (string? name);
public virtual void free (owned Gst.Memory memory);
public static void register (string name, owned Gst.Allocator allocator);
@@ -610,7 +610,7 @@ namespace Gst {
public virtual bool add_element (Gst.Element element);
public void add_many (params Gst.Element[] elements);
public Gst.Pad? find_unlinked_pad (Gst.PadDirection direction);
- public Gst.Element get_by_interface (GLib.Type iface);
+ public Gst.Element? get_by_interface (GLib.Type iface);
public Gst.Element? get_by_name (string name);
public Gst.Element? get_by_name_recurse_up (string name);
[Version (since = "1.10")]
@@ -683,15 +683,17 @@ namespace Gst {
public size_t fill (size_t offset, [CCode (array_length_cname = "size", array_length_pos =
2.1, array_length_type = "gsize")] uint8[] src);
public bool find_memory (size_t offset, size_t size, out uint idx, out uint length, out
size_t skip);
public bool foreach_meta (Gst.BufferForeachMetaFunc func);
- public Gst.Memory get_all_memory ();
+ public Gst.Memory? get_all_memory ();
[Version (since = "1.10")]
public Gst.BufferFlags get_flags ();
[Version (since = "1.2")]
public static uint get_max_memory ();
- public Gst.Memory get_memory (uint idx);
- public Gst.Memory get_memory_range (uint idx, int length);
+ public Gst.Memory? get_memory (uint idx);
+ public Gst.Memory? get_memory_range (uint idx, int length);
public unowned Gst.Meta? get_meta (GLib.Type api);
[Version (since = "1.14")]
+ public uint get_n_meta (GLib.Type api_type);
+ [Version (since = "1.14")]
public unowned Gst.ReferenceTimestampMeta? get_reference_timestamp_meta (Gst.Caps? reference);
public size_t get_size ();
public size_t get_sizes (out size_t offset, out size_t maxsize);
@@ -709,7 +711,7 @@ namespace Gst {
public uint n_memory ();
[CCode (has_construct_function = false, simple_generics = true)]
public static Gst.Buffer new_wrapped_full<T> (Gst.MemoryFlags flags, [CCode
(array_length_cname = "maxsize", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] data, size_t
offset, size_t size, owned T user_data);
- public unowned Gst.Memory peek_memory (uint idx);
+ public unowned Gst.Memory? peek_memory (uint idx);
public void prepend_memory (owned Gst.Memory mem);
public void remove_all_memory ();
public void remove_memory (uint idx);
@@ -798,7 +800,7 @@ namespace Gst {
[CCode (cname = "gst_bus_add_watch_full")]
public uint add_watch (int priority, owned Gst.BusFunc func);
public bool async_signal_func (Gst.Message message, void* data);
- public GLib.Source create_watch ();
+ public GLib.Source? create_watch ();
public void disable_sync_message_emission ();
public void enable_sync_message_emission ();
[Version (since = "1.14")]
@@ -842,13 +844,13 @@ namespace Gst {
public Gst.Caps fixate ();
[Version (since = "1.6")]
public bool @foreach (Gst.CapsForeachFunc func);
- public static Gst.Caps from_string (string string);
+ public static Gst.Caps? from_string (string string);
[CCode (has_construct_function = false)]
public Caps.full (params Gst.Structure[] structure);
[CCode (has_construct_function = false)]
public Caps.full_valist (Gst.Structure structure, va_list var_args);
[Version (since = "1.2")]
- public unowned Gst.CapsFeatures get_features (uint index);
+ public unowned Gst.CapsFeatures? get_features (uint index);
public uint get_size ();
public unowned Gst.Structure get_structure (uint index);
[CCode (cname = "gst_caps_intersect_full")]
@@ -880,7 +882,7 @@ namespace Gst {
[CCode (has_construct_function = false)]
public Caps.simple (string media_type, string fieldname, ...);
public Gst.Caps simplify ();
- public Gst.Structure steal_structure (uint index);
+ public Gst.Structure? steal_structure (uint index);
public Gst.Caps subtract (Gst.Caps subtrahend);
public string to_string ();
public Gst.Caps truncate ();
@@ -912,7 +914,7 @@ namespace Gst {
[Version (since = "1.2")]
public static Gst.CapsFeatures? from_string (string features);
[Version (since = "1.2")]
- public unowned string get_nth (uint i);
+ public unowned string? get_nth (uint i);
[Version (since = "1.2")]
public GLib.Quark get_nth_id (uint i);
[Version (since = "1.2")]
@@ -1084,19 +1086,19 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
[Compact]
public class DebugMessage {
- public unowned string @get ();
+ public unowned string? @get ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_device_get_type ()")]
[Version (since = "1.4")]
public abstract class Device : Gst.Object {
[CCode (has_construct_function = false)]
protected Device ();
- public virtual Gst.Element create_element (string? name);
- public Gst.Caps get_caps ();
+ public virtual Gst.Element? create_element (string? name);
+ public Gst.Caps? get_caps ();
public string get_device_class ();
public string get_display_name ();
[Version (since = "1.6")]
- public Gst.Structure get_properties ();
+ public Gst.Structure? get_properties ();
public bool has_classes (string classes);
public bool has_classesv ([CCode (array_length = false, array_null_terminated = true)]
string[] classes);
public virtual bool reconfigure_element (Gst.Element element);
@@ -1113,7 +1115,7 @@ namespace Gst {
public DeviceMonitor ();
public uint add_filter (string? classes, Gst.Caps? caps);
public Gst.Bus get_bus ();
- public GLib.List<Gst.Device> get_devices ();
+ public GLib.List<Gst.Device>? get_devices ();
[CCode (array_length = false, array_null_terminated = true)]
[Version (since = "1.6")]
public string[] get_providers ();
@@ -1138,7 +1140,7 @@ namespace Gst {
[CCode (cname = "gst_device_provider_class_add_static_metadata")]
public class void add_static_metadata (string key, owned string value);
public bool can_monitor ();
- public class unowned string class_get_metadata (string key);
+ public class unowned string? class_get_metadata (string key);
public void device_add (Gst.Device device);
public void device_remove (Gst.Device device);
public Gst.Bus get_bus ();
@@ -1247,14 +1249,14 @@ namespace Gst {
[Version (since = "1.14")]
public bool foreach_src_pad (Gst.ElementForeachPadFunc func);
public Gst.ClockTime get_base_time ();
- public Gst.Bus get_bus ();
- public Gst.Clock get_clock ();
+ public Gst.Bus? get_bus ();
+ public Gst.Clock? get_clock ();
public Gst.Pad? get_compatible_pad (Gst.Pad pad, Gst.Caps? caps);
public unowned Gst.PadTemplate? get_compatible_pad_template (Gst.PadTemplate compattempl);
[Version (since = "1.8")]
public Gst.Context get_context (string context_type);
[Version (since = "1.8")]
- public Gst.Context get_context_unlocked (string context_type);
+ public Gst.Context? get_context_unlocked (string context_type);
[Version (since = "1.8")]
public GLib.List<Gst.Context> get_contexts ();
public unowned Gst.ElementFactory get_factory ();
@@ -1280,7 +1282,7 @@ namespace Gst {
public bool link_pads_filtered (string? srcpadname, Gst.Element dest, string? destpadname,
Gst.Caps? filter);
public void lost_state ();
[CCode (returns_floating_reference = true)]
- public static Gst.Element make_from_uri (Gst.URIType type, string uri, string? elementname)
throws GLib.Error;
+ public static Gst.Element? make_from_uri (Gst.URIType type, string uri, string? elementname)
throws GLib.Error;
public void message_full (Gst.MessageType type, GLib.Quark domain, int code, owned string?
text, owned string? debug, string file, string function, int line);
[Version (since = "1.10")]
public void message_full_with_details (Gst.MessageType type, GLib.Quark domain, int code,
owned string? text, owned string? debug, string file, string function, int line, owned Gst.Structure
structure);
@@ -1702,7 +1704,7 @@ namespace Gst {
[Version (since = "1.10")]
public uint streams_selected_get_size ();
[Version (since = "1.10")]
- public Gst.Stream streams_selected_get_stream (uint idx);
+ public Gst.Stream? streams_selected_get_stream (uint idx);
[CCode (has_construct_function = false)]
public Message.structure_change (Gst.Object? src, Gst.StructureChangeType type, Gst.Element
owner, bool busy);
[CCode (has_construct_function = false)]
@@ -1714,6 +1716,8 @@ namespace Gst {
[CCode (has_construct_function = false)]
[Version (since = "1.10")]
public Message.warning_with_details (Gst.Object? src, GLib.Error error, string debug, owned
Gst.Structure details);
+ [Version (since = "1.14")]
+ public unowned Gst.Structure writable_structure ();
}
[CCode (cheader_filename = "gst/gst.h", get_value_function = "g_value_get_boxed", has_type_id =
false, ref_function = "gst_mini_object_ref", set_value_function = "g_value_set_boxed", take_value_function =
"g_value_take_boxed", unref_function = "gst_mini_object_unref")]
[Compact]
@@ -1812,7 +1816,7 @@ namespace Gst {
public Gst.PadTemplate? get_pad_template ();
public Gst.Caps get_pad_template_caps ();
public Gst.Element? get_parent_element ();
- public Gst.Pad get_peer ();
+ public Gst.Pad? get_peer ();
public Gst.FlowReturn get_range (uint64 offset, uint size, out Gst.Buffer buffer);
public Gst.Event? get_sticky_event (Gst.EventType event_type, uint idx);
[Version (since = "1.10")]
@@ -1941,10 +1945,10 @@ namespace Gst {
public class ParseContext {
[CCode (has_construct_function = false)]
public ParseContext ();
- public Gst.ParseContext copy ();
+ public Gst.ParseContext? copy ();
public void free ();
[CCode (array_length = false, array_null_terminated = true)]
- public string[] get_missing_elements ();
+ public string[]? get_missing_elements ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_pipeline_get_type ()")]
public class Pipeline : Gst.Bin, Gst.ChildProxy {
@@ -1990,8 +1994,8 @@ namespace Gst {
public unowned string get_version ();
public bool is_loaded ();
public static void list_free (owned GLib.List<Gst.Plugin> list);
- public Gst.Plugin load ();
- public static Gst.Plugin load_by_name (string name);
+ public Gst.Plugin? load ();
+ public static Gst.Plugin? load_by_name (string name);
public static Gst.Plugin load_file (string filename) throws GLib.Error;
public static bool register_static (int major_version, int minor_version, string name, string
description, Gst.PluginInitFunc init_func, string version, string license, string source, string package,
string origin);
public static bool register_static_full (int major_version, int minor_version, string name,
string description, [CCode (delegate_target_pos = 10.1)] Gst.PluginInitFullFunc init_full_func, string
version, string license, string source, string package, string origin);
@@ -2040,6 +2044,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/gst.h", copy_function = "g_boxed_copy", free_function =
"g_boxed_free", type_id = "gst_promise_get_type ()")]
[Compact]
+ [Version (since = "1.14")]
public class Promise {
public weak Gst.MiniObject parent;
[CCode (has_construct_function = false)]
@@ -2210,7 +2215,7 @@ namespace Gst {
[Version (since = "1.6")]
public unowned Gst.BufferList? get_buffer_list ();
public unowned Gst.Caps? get_caps ();
- public unowned Gst.Structure get_info ();
+ public unowned Gst.Structure? get_info ();
public unowned Gst.Segment get_segment ();
[Version (since = "1.6")]
public void set_buffer_list (Gst.BufferList buffer_list);
@@ -2286,7 +2291,7 @@ namespace Gst {
public StreamCollection (string? upstream_id);
public bool add_stream (owned Gst.Stream stream);
public uint get_size ();
- public unowned Gst.Stream get_stream (uint index);
+ public unowned Gst.Stream? get_stream (uint index);
public unowned string get_upstream_id ();
[NoAccessorMethod]
public string upstream_id { owned get; set construct; }
@@ -2352,7 +2357,7 @@ namespace Gst {
public void id_set_valist (GLib.Quark fieldname, va_list varargs);
public void id_set_value (GLib.Quark field, GLib.Value value);
public void id_take_value (GLib.Quark field, owned GLib.Value value);
- public Gst.Structure intersect (Gst.Structure struct2);
+ public Gst.Structure? intersect (Gst.Structure struct2);
public bool is_equal (Gst.Structure structure2);
public bool is_subset (Gst.Structure superset);
public bool map_in_place (Gst.StructureMapFunc func);
@@ -2493,7 +2498,7 @@ namespace Gst {
public Gst.TocEntryType get_entry_type ();
[Version (since = "1.4")]
public bool get_loop (out Gst.TocLoopType loop_type, out int repeat_count);
- public unowned Gst.TocEntry get_parent ();
+ public unowned Gst.TocEntry? get_parent ();
public bool get_start_stop_times (out int64 start, out int64 stop);
public unowned GLib.List<Gst.TocEntry> get_sub_entries ();
public unowned Gst.TagList get_tags ();
@@ -2553,36 +2558,36 @@ namespace Gst {
[Version (since = "1.6")]
public Gst.Uri from_string_with_base (string uri);
[Version (since = "1.6")]
- public unowned string get_fragment ();
+ public unowned string? get_fragment ();
[Version (since = "1.6")]
- public unowned string get_host ();
+ public unowned string? get_host ();
[Version (since = "1.12")]
- public GLib.HashTable<string,string> get_media_fragment_table ();
+ public GLib.HashTable<string,string>? get_media_fragment_table ();
[Version (since = "1.6")]
public string get_path ();
[Version (since = "1.6")]
public GLib.List<string> get_path_segments ();
[Version (since = "1.6")]
- public string get_path_string ();
+ public string? get_path_string ();
[Version (since = "1.6")]
public uint get_port ();
[Version (since = "1.6")]
public GLib.List<weak string> get_query_keys ();
[Version (since = "1.6")]
- public string get_query_string ();
+ public string? get_query_string ();
[Version (since = "1.6")]
- public GLib.HashTable<string,string> get_query_table ();
+ public GLib.HashTable<string,string>? get_query_table ();
[Version (since = "1.6")]
- public unowned string get_query_value (string query_key);
- public unowned string get_scheme ();
+ public unowned string? get_query_value (string query_key);
+ public unowned string? get_scheme ();
[Version (since = "1.6")]
- public unowned string get_userinfo ();
+ public unowned string? get_userinfo ();
[Version (since = "1.6")]
public bool is_normalized ();
[Version (since = "1.6")]
public bool is_writable ();
[Version (since = "1.6")]
- public Gst.Uri join (Gst.Uri? ref_uri);
+ public Gst.Uri? join (Gst.Uri? ref_uri);
[ReturnsModifiedPointer]
[Version (since = "1.6")]
public Gst.Uri make_writable ();
@@ -2804,10 +2809,10 @@ namespace Gst {
public void* data;
public uint64 offset;
public uint size;
- public unowned Gst.Buffer get_buffer ();
- public unowned Gst.BufferList get_buffer_list ();
- public unowned Gst.Event get_event ();
- public unowned Gst.Query get_query ();
+ public unowned Gst.Buffer? get_buffer ();
+ public unowned Gst.BufferList? get_buffer_list ();
+ public unowned Gst.Event? get_event ();
+ public unowned Gst.Query? get_query ();
}
[CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
public struct ParamSpecArray {
@@ -2874,7 +2879,7 @@ namespace Gst {
public weak Gst.Caps caps;
public weak global::string string;
public void cleanup ();
- public Gst.Caps @get ();
+ public Gst.Caps? @get ();
public static GLib.Type get_type ();
}
[CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
@@ -2883,7 +2888,7 @@ namespace Gst {
public Gst.PadDirection direction;
public Gst.PadPresence presence;
public Gst.StaticCaps static_caps;
- public unowned Gst.PadTemplate @get ();
+ public unowned Gst.PadTemplate? @get ();
public Gst.Caps get_caps ();
public static GLib.Type get_type ();
}
@@ -2948,6 +2953,7 @@ namespace Gst {
DELTA_UNIT,
TAG_MEMORY,
SYNC_AFTER,
+ NON_DROPPABLE,
LAST
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BUFFER_POOL_ACQUIRE_FLAG_", type_id =
"gst_buffer_pool_acquire_flags_get_type ()")]
@@ -3408,6 +3414,7 @@ namespace Gst {
ERROR
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PROMISE_RESULT_", type_id =
"gst_promise_result_get_type ()")]
+ [Version (since = "1.14")]
public enum PromiseResult {
PENDING,
INTERRUPTED,
@@ -3569,7 +3576,7 @@ namespace Gst {
VIDEO,
CONTAINER,
TEXT;
- public unowned string get_name ();
+ public unowned string? get_name ();
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STRUCTURE_CHANGE_TYPE_PAD_", type_id =
"gst_structure_change_type_get_type ()")]
public enum StructureChangeType {
@@ -3864,6 +3871,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h", has_target = false)]
public delegate bool PluginInitFunc (Gst.Plugin plugin);
[CCode (cheader_filename = "gst/gst.h", instance_pos = 1.9)]
+ [Version (since = "1.14")]
public delegate void PromiseChangeFunc (Gst.Promise promise);
[CCode (cheader_filename = "gst/gst.h", instance_pos = 2.9)]
public delegate bool StructureFilterMapFunc (GLib.Quark field_id, GLib.Value value);
@@ -4016,13 +4024,13 @@ namespace Gst {
public static GLib.Quark flow_to_quark (Gst.FlowReturn ret);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.14")]
- public static unowned string get_main_executable_path ();
+ public static unowned string? get_main_executable_path ();
[CCode (cheader_filename = "gst/gst.h")]
public static void init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned
string[]? argv);
[CCode (cheader_filename = "gst/gst.h")]
public static bool init_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref
unowned string[]? argv) throws GLib.Error;
[CCode (cheader_filename = "gst/gst.h")]
- public static GLib.OptionGroup init_get_option_group ();
+ public static GLib.OptionGroup? init_get_option_group ();
[CCode (cheader_filename = "gst/gst.h")]
public static bool is_caps_features (void* obj);
[CCode (cheader_filename = "gst/gst.h")]
@@ -4031,23 +4039,23 @@ namespace Gst {
[Version (since = "1.14")]
public static GLib.ParamSpec param_spec_array (string name, string nick, string blurb, GLib.ParamSpec
element_spec, GLib.ParamFlags flags);
[CCode (cheader_filename = "gst/gst.h")]
- public static GLib.ParamSpec param_spec_fraction (string name, string nick, string blurb, int
min_num, int min_denom, int max_num, int max_denom, int default_num, int default_denom, GLib.ParamFlags
flags);
+ public static GLib.ParamSpec? param_spec_fraction (string name, string nick, string blurb, int
min_num, int min_denom, int max_num, int max_denom, int default_num, int default_denom, GLib.ParamFlags
flags);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_parse_bin_from_description_full",
returns_floating_reference = true)]
- public static Gst.Element parse_bin_from_description (string bin_description, bool
ghost_unlinked_pads, Gst.ParseContext? context = null, Gst.ParseFlags flags = Gst.ParseFlags.NONE) throws
GLib.Error;
+ public static Gst.Element? parse_bin_from_description (string bin_description, bool
ghost_unlinked_pads, Gst.ParseContext? context = null, Gst.ParseFlags flags = Gst.ParseFlags.NONE) throws
GLib.Error;
[CCode (cheader_filename = "gst/gst.h", cname = "gst_parse_launch_full", returns_floating_reference =
true)]
- public static Gst.Element parse_launch (string pipeline_description, Gst.ParseContext? context =
null, Gst.ParseFlags flags = Gst.ParseFlags.NONE) throws GLib.Error;
+ public static Gst.Element? parse_launch (string pipeline_description, Gst.ParseContext? context =
null, Gst.ParseFlags flags = Gst.ParseFlags.NONE) throws GLib.Error;
[CCode (cheader_filename = "gst/gst.h", cname = "gst_parse_launchv_full", returns_floating_reference
= true)]
- public static Gst.Element parse_launchv ([CCode (array_length = false, array_null_terminated = true)]
string[] argv, Gst.ParseContext? context = null, Gst.ParseFlags flags = Gst.ParseFlags.NONE) throws
GLib.Error;
+ public static Gst.Element? parse_launchv ([CCode (array_length = false, array_null_terminated =
true)] string[] argv, Gst.ParseContext? context = null, Gst.ParseFlags flags = Gst.ParseFlags.NONE) throws
GLib.Error;
[CCode (cheader_filename = "gst/gst.h")]
public static unowned string? preset_get_app_dir ();
[CCode (cheader_filename = "gst/gst.h")]
public static bool preset_set_app_dir (string app_dir);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/gst.h")]
[Version (since = "1.14")]
- public static string[] protection_filter_systems_by_available_decryptors (string system_identifiers);
+ public static string[]? protection_filter_systems_by_available_decryptors (string system_identifiers);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.6")]
- public static unowned string protection_select_system ([CCode (array_length = false,
array_null_terminated = true)] string[] system_identifiers);
+ public static unowned string? protection_select_system ([CCode (array_length = false,
array_null_terminated = true)] string[] system_identifiers);
[CCode (cheader_filename = "gst/gst.h")]
public static bool segtrap_is_enabled ();
[CCode (cheader_filename = "gst/gst.h")]
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index 8f6f105..703e0fb 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -752,16 +752,16 @@ namespace Gst {
[NoWrapper]
public virtual Gst.Caps fixate_caps (Gst.PadDirection direction, Gst.Caps caps,
Gst.Caps othercaps);
[NoWrapper]
- public virtual Gst.FlowReturn generate_output (Gst.Buffer outbuf);
+ public virtual Gst.FlowReturn generate_output (out Gst.Buffer outbuf);
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams
@params);
public Gst.BufferPool get_buffer_pool ();
[NoWrapper]
- public virtual bool get_unit_size (Gst.Caps caps, size_t size);
+ public virtual bool get_unit_size (Gst.Caps caps, out size_t size);
public bool is_in_place ();
public bool is_passthrough ();
public bool is_qos_enabled ();
[NoWrapper]
- public virtual Gst.FlowReturn prepare_output_buffer (Gst.Buffer input, Gst.Buffer
outbuf);
+ public virtual Gst.FlowReturn prepare_output_buffer (Gst.Buffer input, out Gst.Buffer
outbuf);
[NoWrapper]
public virtual bool propose_allocation (Gst.Query decide_query, Gst.Query query);
[NoWrapper]
@@ -795,7 +795,7 @@ namespace Gst {
[NoWrapper]
public virtual bool transform_meta (Gst.Buffer outbuf, Gst.Meta meta, Gst.Buffer
inbuf);
[NoWrapper]
- public virtual bool transform_size (Gst.PadDirection direction, Gst.Caps caps, size_t
size, Gst.Caps othercaps, size_t othersize);
+ public virtual bool transform_size (Gst.PadDirection direction, Gst.Caps caps, size_t
size, Gst.Caps othercaps, out size_t othersize);
public void update_qos (double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime
timestamp);
[Version (since = "1.6")]
public bool update_src_caps (Gst.Caps updated_caps);
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 31aab9a..2cee677 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -308,6 +308,11 @@ namespace Gst {
public Gst.Video.OverlayComposition make_writable ();
public uint n_rectangles ();
}
+ [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+ [Compact]
+ [GIR (name = "VideoOverlayProperties")]
+ public class OverlayProperties {
+ }
[CCode (cheader_filename = "gst/video/video-overlay-composition.h", ref_function =
"gst_video_overlay_rectangle_ref", type_id = "gst_video_overlay_rectangle_get_type ()", unref_function =
"gst_video_overlay_rectangle_unref")]
[Compact]
[GIR (name = "VideoOverlayRectangle")]
@@ -474,7 +479,9 @@ namespace Gst {
public abstract void expose ();
public void got_window_handle ([CCode (type = "guintptr")] uint* handle);
public abstract void handle_events (bool handle_events);
+ public static void install_properties (GLib.ObjectClass oclass, int last_prop_id);
public void prepare_window_handle ();
+ public static bool set_property (GLib.Object object, int last_prop_id, uint
property_id, GLib.Value value);
[NoWrapper]
public virtual void set_render_rectangle (int x, int y, int width, int height);
public abstract void set_window_handle ([CCode (type = "guintptr")] uint* handle);
@@ -899,7 +906,10 @@ namespace Gst {
I422_12BE,
I422_12LE,
Y444_12BE,
- Y444_12LE
+ Y444_12LE,
+ GRAY10_LE32,
+ NV12_10LE32,
+ NV16_10LE32
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id =
"gst_video_format_flags_get_type ()")]
[Flags]
@@ -1523,6 +1533,10 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? overlay_composition_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
+ public static void overlay_install_properties (GLib.ObjectClass oclass, int last_prop_id);
+ [CCode (cheader_filename = "gst/video/video.h")]
+ public static bool overlay_set_property (GLib.Object object, int last_prop_id, uint
property_id, GLib.Value value);
+ [CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type region_of_interest_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? region_of_interest_meta_get_info ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]