[vala/0.52] gstreamer: Cherry-pick bindings fixes from 0.56
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.52] gstreamer: Cherry-pick bindings fixes from 0.56
- Date: Mon, 29 Nov 2021 12:32:09 +0000 (UTC)
commit 1ba7956dbb489c7ffd90c0fe0c29fe5bd80d94aa
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Nov 29 11:27:33 2021 +0100
gstreamer: Cherry-pick bindings fixes from 0.56
vapi/gst-editing-services-1.0.vapi | 11 ++++++-----
vapi/gstreamer-play-1.0.vapi | 4 ++--
2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 2f808a8ab..30a49a852 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -147,7 +147,7 @@ namespace GES {
[Version (since = "1.18")]
public Gst.ClockTime get_frame_time (GES.FrameNumber frame_number);
[Version (since = "1.18")]
- public virtual bool get_natural_framerate (int framerate_n, int framerate_d);
+ public virtual bool get_natural_framerate (out int framerate_n, out int framerate_d);
public GES.TrackType get_supported_formats ();
public void set_supported_formats (GES.TrackType supportedformats);
public GES.TrackType supported_formats { get; set construct; }
@@ -156,8 +156,9 @@ namespace GES {
public class CommandLineFormatter : GES.Formatter, GES.Extractable {
[CCode (has_construct_function = false)]
protected CommandLineFormatter ();
- public static string get_help (int nargs, string commands);
- [Version (since = "1.20")]
+ [Version (since = "1.10")]
+ public static string get_help ([CCode (array_length_cname = "nargs", array_length_pos = 0.5)]
string[] commands);
+ [Version (since = "1.10")]
public static string get_timeline_uri (GES.Timeline timeline);
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_container_get_type ()")]
@@ -809,7 +810,7 @@ namespace GES {
[CCode (has_construct_function = false)]
protected TrackElementAsset ();
[Version (since = "1.18")]
- public virtual bool get_natural_framerate (int framerate_n, int framerate_d);
+ public virtual bool get_natural_framerate (out int framerate_n, out int framerate_d);
public GES.TrackType get_track_type ();
public void set_track_type (GES.TrackType type);
public GES.TrackType track_type { get; set construct; }
@@ -944,7 +945,7 @@ namespace GES {
[CCode (cheader_filename = "ges/ges.h", type_cname = "GESMetaContainerInterface", type_id =
"ges_meta_container_get_type ()")]
public interface MetaContainer : GLib.Object {
public bool add_metas_from_string (string str);
- public bool check_meta_registered (string meta_item, out GES.MetaFlag? flags, out GLib.Type?
type);
+ public bool check_meta_registered (string meta_item, out GES.MetaFlag flags, out GLib.Type
type);
public void @foreach (GES.MetaForeachFunc func);
public bool get_boolean (string meta_item, out bool dest);
public bool get_date (string meta_item, out GLib.Date dest);
diff --git a/vapi/gstreamer-play-1.0.vapi b/vapi/gstreamer-play-1.0.vapi
index 3e99fc9dd..0ebedadec 100644
--- a/vapi/gstreamer-play-1.0.vapi
+++ b/vapi/gstreamer-play-1.0.vapi
@@ -289,7 +289,7 @@ namespace Gst {
public static void play_message_parse_duration_updated (Gst.Message msg, out Gst.ClockTime
duration);
[CCode (cheader_filename = "gst/play/play.h", cname = "gst_play_message_parse_error")]
[Version (since = "1.20")]
- public static void play_message_parse_error (Gst.Message msg, out unowned GLib.Error error,
out Gst.Structure details);
+ public static void play_message_parse_error (Gst.Message msg, out GLib.Error error, out
Gst.Structure? details);
[CCode (cheader_filename = "gst/play/play.h", cname =
"gst_play_message_parse_media_info_updated")]
[Version (since = "1.20")]
public static void play_message_parse_media_info_updated (Gst.Message msg, out
Gst.Play.MediaInfo info);
@@ -313,7 +313,7 @@ namespace Gst {
public static void play_message_parse_volume_changed (Gst.Message msg, out double volume);
[CCode (cheader_filename = "gst/play/play.h", cname = "gst_play_message_parse_warning")]
[Version (since = "1.20")]
- public static void play_message_parse_warning (Gst.Message msg, out unowned GLib.Error error,
out Gst.Structure details);
+ public static void play_message_parse_warning (Gst.Message msg, out GLib.Error error, out
Gst.Structure? details);
[CCode (cheader_filename = "gst/play/play.h", cname = "gst_play_state_get_name")]
[Version (since = "1.20")]
public static unowned string play_state_get_name (Gst.Play.State state);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]