summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-11-29 11:27:33 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2021-11-29 13:44:35 +0100
commit3073fe802d4c45bbc49a6530450083b62250405a (patch)
treee235333c30e2e8922ae69d130f7a1446271d330c
parent180fa07f002bcf2a3b300de576ae17bc56e41062 (diff)
downloadvala-3073fe802d4c45bbc49a6530450083b62250405a.tar.gz
gstreamer: Cherry-pick bindings fixes from 0.56
-rw-r--r--vapi/gst-editing-services-1.0.vapi8
1 files changed, 4 insertions, 4 deletions
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 0bb63f0b3..6e57fde68 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,7 +156,7 @@ 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);
+ public static string get_help ([CCode (array_length_cname = "nargs", array_length_pos = 0.5)] string[] commands);
}
[CCode (cheader_filename = "ges/ges.h", type_id = "ges_container_get_type ()")]
public abstract class Container : GES.TimelineElement, GES.Extractable, GES.MetaContainer {
@@ -790,7 +790,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; }
@@ -920,7 +920,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);