[vala] gstreamer-0.10: Fix GstParse bindings
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer-0.10: Fix GstParse bindings
- Date: Wed, 23 Jun 2010 20:38:01 +0000 (UTC)
commit 9b333a84fb0a1129320e1b7efcd1851205f06de9
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date: Wed Jun 23 22:35:57 2010 +0200
gstreamer-0.10: Fix GstParse bindings
Some ownership, return type and nullable fixes
vapi/gstreamer-0.10.vapi | 9 +++++----
.../gstreamer-0.10/gstreamer-0.10.metadata | 10 +++++++++-
2 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 0234e62..d28a764 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -946,7 +946,8 @@ namespace Gst {
public class ParseContext {
[CCode (has_construct_function = false)]
public ParseContext ();
- public unowned string get_missing_elements ();
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] get_missing_elements ();
}
[CCode (cheader_filename = "gst/gst.h")]
public class Pipeline : Gst.Bin, Gst.ChildProxy {
@@ -2675,17 +2676,17 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static Gst.Element? parse_bin_from_description (string bin_description, bool ghost_unlinked_pads) throws GLib.Error;
[CCode (cheader_filename = "gst/gst.h")]
- public static unowned Gst.Element parse_bin_from_description_full (string bin_description, bool ghost_unlinked_pads, Gst.ParseContext context, Gst.ParseFlags flags) throws GLib.Error;
+ public static Gst.Element? parse_bin_from_description_full (string bin_description, bool ghost_unlinked_pads, Gst.ParseContext? context, Gst.ParseFlags flags) throws GLib.Error;
[CCode (cheader_filename = "gst/gst.h")]
public static GLib.Quark parse_error_quark ();
[CCode (cheader_filename = "gst/gst.h")]
public static Gst.Element? parse_launch (string pipeline_description) throws GLib.Error;
[CCode (cheader_filename = "gst/gst.h")]
- public static unowned Gst.Element parse_launch_full (string pipeline_description, Gst.ParseContext context, Gst.ParseFlags flags) throws GLib.Error;
+ public static Gst.Element? parse_launch_full (string pipeline_description, Gst.ParseContext? context, Gst.ParseFlags flags) throws GLib.Error;
[CCode (cheader_filename = "gst/gst.h")]
public static Gst.Element? parse_launchv ([CCode (array_length = false)] string[] argv) throws GLib.Error;
[CCode (cheader_filename = "gst/gst.h")]
- public static unowned Gst.Element parse_launchv_full (string argv, Gst.ParseContext context, Gst.ParseFlags flags) throws GLib.Error;
+ public static Gst.Element? parse_launchv_full ([CCode (array_length = false)] string[] argv, Gst.ParseContext? context, Gst.ParseFlags flags) throws GLib.Error;
[CCode (cheader_filename = "gst/gst.h")]
public static void print_element_args (GLib.StringBuilder buf, int indent, Gst.Element element);
[CCode (cheader_filename = "gst/gst.h")]
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 27bb7e3..4ffbf81 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -417,10 +417,18 @@ gst_ghost_pad_set_target.newtarget nullable="1"
gst_ghost_pad_get_target transfer_ownership="1" nullable="1"
gst_ghost_pad_construct hidden="1"
GstPadTemplate::pad_created has_emitter="1"
+gst_parse_context_get_missing_elements is_array="1" array_null_terminated="1" transfer_ownership="1"
+gst_parse_bin_from_description transfer_ownership="1" nullable="1"
+gst_parse_bin_from_description_full transfer_ownership="1" nullable="1"
+gst_parse_bin_from_description_full.context nullable="1"
gst_parse_launchv.argv is_array="1" array_null_terminated="1"
gst_parse_launchv transfer_ownership="1" nullable="1"
gst_parse_launch transfer_ownership="1" nullable="1"
-gst_parse_bin_from_description transfer_ownership="1" nullable="1"
+gst_parse_launch_full transfer_ownership="1" nullable="1"
+gst_parse_launch_full.context nullable="1"
+gst_parse_launchv_full.argv is_array="1" array_null_terminated="1"
+gst_parse_launchv_full.context nullable="1"
+gst_parse_launchv_full transfer_ownership="1" nullable="1"
GstParamSpecFraction base_class="GParamSpec"
GstParamSpecFraction.parent_instance hidden="1"
GstParamSpecMiniObject base_class="GParamSpec"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]