]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: Add returns_floating_reference to gst_parse_bin_*
authorJens Georg <mail@jensge.org>
Mon, 30 Jan 2012 19:51:34 +0000 (20:51 +0100)
committerJens Georg <mail@jensge.org>
Wed, 1 Feb 2012 11:55:26 +0000 (12:55 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=669060

vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

index 554aa5ac18d1d847e81d8cfc79f54c9bf3407757..9a659208869728542f835d46a8a1b1731db49284 100644 (file)
@@ -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 ();
index f99d1e4a23ec6b27781c2baa9299db98b3624b0a..1e0f4593cf00a1461a9699cad765ebdff3a7e88b 100644 (file)
@@ -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;
 }
index 81015a02ff40c1bea18a7fd9d0d5d916e1430c19..4172ef3f5b8481dd67b4915ed738e17d9ec65a0c 100644 (file)
@@ -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"