[vala/0.36] gstreamer-1.0: Cherry-pick some fixes from 0.38
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.36] gstreamer-1.0: Cherry-pick some fixes from 0.38
- Date: Fri, 6 Oct 2017 07:01:15 +0000 (UTC)
commit fa7050e75064c5b998671920752a071b6992a618
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Oct 6 08:59:26 2017 +0200
gstreamer-1.0: Cherry-pick some fixes from 0.38
vapi/gstreamer-1.0.vapi | 12 +++++++-----
vapi/gstreamer-app-1.0.vapi | 2 +-
vapi/gstreamer-video-1.0.vapi | 2 +-
3 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 6cf911c..01b423a 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -2173,7 +2173,7 @@ namespace Gst {
public bool clip (Gst.Format format, uint64 start, uint64 stop, out uint64 clip_start, out
uint64 clip_stop);
public Gst.Segment copy ();
public void copy_into (Gst.Segment dest);
- public bool do_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType
start_type, uint64 start, Gst.SeekType stop_type, uint64 stop, bool update);
+ public bool do_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType
start_type, uint64 start, Gst.SeekType stop_type, uint64 stop, out bool update);
public void free ();
public void init (Gst.Format format);
[Version (since = "1.6")]
@@ -2183,20 +2183,20 @@ namespace Gst {
[Version (since = "1.8")]
public uint64 position_from_running_time (Gst.Format format, uint64 running_time);
[Version (since = "1.8")]
- public int position_from_running_time_full (Gst.Format format, uint64 running_time, uint64
position);
+ public int position_from_running_time_full (Gst.Format format, uint64 running_time, out
uint64 position);
[Version (since = "1.8")]
public uint64 position_from_stream_time (Gst.Format format, uint64 stream_time);
[Version (since = "1.8")]
- public int position_from_stream_time_full (Gst.Format format, uint64 stream_time, uint64
position);
+ public int position_from_stream_time_full (Gst.Format format, uint64 stream_time, out uint64
position);
public bool set_running_time (Gst.Format format, uint64 running_time);
public uint64 to_position (Gst.Format format, uint64 running_time);
public uint64 to_running_time (Gst.Format format, uint64 position);
[Version (since = "1.6")]
- public int to_running_time_full (Gst.Format format, uint64 position, uint64 running_time);
+ public int to_running_time_full (Gst.Format format, uint64 position, out uint64 running_time);
[Version (since = "1.8")]
public uint64 to_stream_time (Gst.Format format, uint64 position);
[Version (since = "1.8")]
- public int to_stream_time_full (Gst.Format format, uint64 position, uint64 stream_time);
+ public int to_stream_time_full (Gst.Format format, uint64 position, out uint64 stream_time);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_stream_get_type ()")]
public class Stream : Gst.Object {
@@ -2962,6 +2962,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,
@@ -3437,6 +3438,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
}
diff --git a/vapi/gstreamer-app-1.0.vapi b/vapi/gstreamer-app-1.0.vapi
index d999359..e00f042 100644
--- a/vapi/gstreamer-app-1.0.vapi
+++ b/vapi/gstreamer-app-1.0.vapi
@@ -56,7 +56,7 @@ namespace Gst {
[Version (since = "1.10")]
public Gst.ClockTime get_duration ();
public bool get_emit_signals ();
- public void get_latency (uint64 min, uint64 max);
+ public void get_latency (out uint64 min, out uint64 max);
public uint64 get_max_bytes ();
public int64 get_size ();
public Gst.App.StreamType get_stream_type ();
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 602cd9d..1e28757 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -475,11 +475,11 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoAffineTransformationMeta")]
+ [Version (since = "1.8")]
public struct AffineTransformationMeta {
public Gst.Meta meta;
[CCode (array_length = false)]
public weak float matrix[16];
- [Version (since = "1.8")]
public void apply_matrix (float matrix);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]