[vala] gstreamer-0.10: Add returns_floating_reference to gst_parse_bin_*
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer-0.10: Add returns_floating_reference to gst_parse_bin_*
- Date: Wed, 1 Feb 2012 12:32:17 +0000 (UTC)
commit 15ed2c07bf446be223f8ca7498fbfb79f76f9d6e
Author: Jens Georg <mail jensge org>
Date: Mon Jan 30 20:51:34 2012 +0100
gstreamer-0.10: Add returns_floating_reference to gst_parse_bin_*
https://bugzilla.gnome.org/show_bug.cgi?id=669060
vapi/gstreamer-0.10.vapi | 4 ++--
.../gstreamer-0.10/gstreamer-0.10-custom.vala | 5 +++++
.../gstreamer-0.10/gstreamer-0.10.metadata | 5 ++---
3 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 554aa5a..9a65920 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -2949,9 +2949,9 @@ namespace Gst {
public static unowned GLib.ParamSpec param_spec_fraction (string name, string nick, string blurb, int min_num, int min_denom, int max_num, int max_denom, int default_num, int default_denom, GLib.ParamFlags flags);
[CCode (cheader_filename = "gst/gst.h")]
public static unowned GLib.ParamSpec param_spec_mini_object (string name, string nick, string blurb, GLib.Type object_type, GLib.ParamFlags flags);
- [CCode (cheader_filename = "gst/gst.h")]
+ [CCode (cheader_filename = "gst/gst.h", returns_floating_reference = true)]
public static Gst.Element? parse_bin_from_description (string bin_description, bool ghost_unlinked_pads) throws GLib.Error;
- [CCode (cheader_filename = "gst/gst.h")]
+ [CCode (cheader_filename = "gst/gst.h", returns_floating_reference = true)]
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 ();
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
index f99d1e4..1e0f459 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
@@ -542,4 +542,9 @@ namespace Gst {
public struct ElementFactoryListType : uint64 {
}
+
+ [CCode (returns_floating_reference = true)]
+ public static Gst.Element? parse_bin_from_description (string bin_description, bool ghost_unlinked_pads) throws GLib.Error;
+ [CCode (returns_floating_reference = true)]
+ 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;
}
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 81015a0..4172ef3 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -439,9 +439,8 @@ 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_bin_from_description hidden="1"
+gst_parse_bin_from_description_full hidden="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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]