[vala/0.38] gstreamer-1.0: Update from 1.13+ git master
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.38] gstreamer-1.0: Update from 1.13+ git master
- Date: Thu, 5 Oct 2017 20:54:58 +0000 (UTC)
commit b804ef0a3ee0cd0bf7aa85ffe00fe01a1e1176b1
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Oct 5 14:17:07 2017 +0200
gstreamer-1.0: Update from 1.13+ git master
vapi/Makefile.am | 4 ++--
vapi/gstreamer-1.0.vapi | 12 +++++++++++-
vapi/gstreamer-audio-1.0.vapi | 28 ++++++++++++++++++++++++++++
vapi/gstreamer-player-1.0.deps | 2 +-
4 files changed, 42 insertions(+), 4 deletions(-)
---
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index fef7826..6c0271e 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -670,10 +670,10 @@ gstreamer-net-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-net-1.0 --pkg gstreamer-1.0 --pkg gio-2.0 --metadatadir
$(METADATADIR) $(GIRDIR)/GstNet-1.0.gir
gstreamer-pbutils-1.0:
- $(GENVAPI) --library $(srcdir)/gstreamer-pbutils-1.0 --pkg gstreamer-base-1.0 --metadatadir
$(METADATADIR) $(GIRDIR)/GstPbutils-1.0.gir
+ $(GENVAPI) --library $(srcdir)/gstreamer-pbutils-1.0 --pkg gstreamer-base-1.0 --pkg
gstreamer-audio-1.0 --pkg gstreamer-video-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstPbutils-1.0.gir
gstreamer-player-1.0:
- $(GENVAPI) --library $(srcdir)/gstreamer-player-1.0 --pkg gstreamer-1.0 --pkg gstreamer-video-1.0
--metadatadir $(METADATADIR) $(GIRDIR)/GstPlayer-1.0.gir
+ $(GENVAPI) --library $(srcdir)/gstreamer-player-1.0 --pkg gstreamer-1.0 --pkg gstreamer-pbutils-1.0
--metadatadir $(METADATADIR) $(GIRDIR)/GstPlayer-1.0.gir
gstreamer-riff-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-riff-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR)
$(GIRDIR)/GstRiff-1.0.gir
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 79abbb5..3a1b18d 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -727,10 +727,14 @@ namespace Gst {
public class BufferList : Gst.MiniObject {
[CCode (has_construct_function = false)]
public BufferList ();
+ [Version (since = "1.14")]
+ public size_t calculate_size ();
[Version (since = "1.6")]
public Gst.BufferList copy_deep ();
public bool @foreach (Gst.BufferListFunc func);
public unowned Gst.Buffer? @get (uint idx);
+ [Version (since = "1.14")]
+ public unowned Gst.Buffer? get_writable (uint idx);
public void insert (int idx, owned Gst.Buffer buffer);
public uint length ();
public void remove (uint idx, uint length);
@@ -2991,6 +2995,7 @@ namespace Gst {
OTHER
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_DEBUG_", type_id =
"gst_debug_color_flags_get_type ()")]
+ [Flags]
public enum DebugColorFlags {
FG_BLACK,
FG_RED,
@@ -3357,7 +3362,8 @@ namespace Gst {
RECURSE,
PATHS_ARE_DEFAULT_ONLY,
FILE_NAME_IS_SUFFIX,
- FILE_NAME_IS_PREFIX
+ FILE_NAME_IS_PREFIX,
+ PATHS_ARE_RELATIVE_TO_EXE
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PLUGIN_FLAG_", type_id =
"gst_plugin_flags_get_type ()")]
[Flags]
@@ -3466,6 +3472,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STACK_TRACE_SHOW_", type_id =
"gst_stack_trace_flags_get_type ()")]
[Flags]
+ [Version (since = "1.12")]
public enum StackTraceFlags {
FULL
}
@@ -3958,6 +3965,9 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
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 ();
+ [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;
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index bd24470..82c11f2 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -426,6 +426,32 @@ namespace Gst {
[NoWrapper]
public virtual bool unprepare ();
}
+ [CCode (cheader_filename = "gst/audio/audio.h", copy_function = "g_boxed_copy", free_function
= "g_boxed_free", type_id = "gst_audio_stream_align_get_type ()")]
+ [Compact]
+ [GIR (name = "AudioStreamAlign")]
+ public class StreamAlign {
+ [CCode (has_construct_function = false)]
+ [Version (since = "1.14")]
+ public StreamAlign (int rate, Gst.ClockTime alignment_threshold, Gst.ClockTime
discont_wait);
+ [Version (since = "1.14")]
+ public Gst.Audio.StreamAlign copy ();
+ [Version (since = "1.14")]
+ public void free ();
+ public Gst.ClockTime get_alignment_threshold ();
+ public Gst.ClockTime get_discont_wait ();
+ public int get_rate ();
+ [Version (since = "1.14")]
+ public uint64 get_samples_since_discont ();
+ [Version (since = "1.14")]
+ public Gst.ClockTime get_timestamp_at_discont ();
+ [Version (since = "1.14")]
+ public void mark_discont ();
+ [Version (since = "1.14")]
+ public bool process (bool discont, Gst.ClockTime timestamp, uint n_samples, out
Gst.ClockTime out_timestamp, out Gst.ClockTime out_duration, out uint64 out_sample_position);
+ public void set_alignment_threshold (Gst.ClockTime alignment_threshold);
+ public void set_discont_wait (Gst.ClockTime discont_wait);
+ public void set_rate (int rate);
+ }
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GstStreamVolume", lower_case_cprefix
= "gst_stream_volume_", type_cname = "GstStreamVolumeInterface", type_id = "gst_stream_volume_get_type ()")]
[GIR (name = "StreamVolume")]
public interface StreamVolume : GLib.Object {
@@ -767,6 +793,8 @@ namespace Gst {
public const string CHANNELS_RANGE;
[CCode (cheader_filename = "gst/audio/audio.h", cname =
"GST_AUDIO_CONVERTER_OPT_DITHER_METHOD")]
public const string CONVERTER_OPT_DITHER_METHOD;
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CONVERTER_OPT_MIX_MATRIX")]
+ public const string CONVERTER_OPT_MIX_MATRIX;
[CCode (cheader_filename = "gst/audio/audio.h", cname =
"GST_AUDIO_CONVERTER_OPT_NOISE_SHAPING_METHOD")]
public const string CONVERTER_OPT_NOISE_SHAPING_METHOD;
[CCode (cheader_filename = "gst/audio/audio.h", cname =
"GST_AUDIO_CONVERTER_OPT_QUANTIZATION")]
diff --git a/vapi/gstreamer-player-1.0.deps b/vapi/gstreamer-player-1.0.deps
index 585ce32..7a7c4d4 100644
--- a/vapi/gstreamer-player-1.0.deps
+++ b/vapi/gstreamer-player-1.0.deps
@@ -1,2 +1,2 @@
gstreamer-1.0
-gstreamer-video-1.0
+gstreamer-pbutils-1.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]