[vala/0.34] 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.34] gstreamer-1.0: Cherry-pick some fixes from 0.38
- Date: Fri, 6 Oct 2017 07:14:23 +0000 (UTC)
commit 1d92796a1af9899386f870213923a340cfd272a5
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 | 11 ++++++-----
vapi/gstreamer-app-1.0.vapi | 2 +-
vapi/gstreamer-video-1.0.vapi | 2 +-
3 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index e236270..0782acb 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -2152,7 +2152,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")]
@@ -2162,20 +2162,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 {
@@ -2930,6 +2930,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,
diff --git a/vapi/gstreamer-app-1.0.vapi b/vapi/gstreamer-app-1.0.vapi
index fe2ab69..d89af0e 100644
--- a/vapi/gstreamer-app-1.0.vapi
+++ b/vapi/gstreamer-app-1.0.vapi
@@ -50,7 +50,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 1c8fa28..98f03a3 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -443,11 +443,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]