[vala] gstreamer-0.10: Add returns_floatin_reference to Element.make_from_uri
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer-0.10: Add returns_floatin_reference to Element.make_from_uri
- Date: Sat, 11 Feb 2012 17:53:36 +0000 (UTC)
commit 1499320e72f3ea7c26f4d3e1464d134fe2307f4e
Author: Jens Georg <mail jensge org>
Date: Wed Feb 1 13:54:53 2012 +0100
gstreamer-0.10: Add returns_floatin_reference to Element.make_from_uri
https://bugzilla.gnome.org/show_bug.cgi?id=669166
vapi/gstreamer-0.10.vapi | 1 +
.../gstreamer-0.10/gstreamer-0.10-custom.vala | 2 ++
.../gstreamer-0.10/gstreamer-0.10.metadata | 3 +--
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 9a65920..21aef5d 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -453,6 +453,7 @@ namespace Gst {
public bool link_pads_full (string srcpadname, Gst.Element dest, string destpadname, Gst.PadLinkCheck flags);
public void lost_state ();
public void lost_state_full (bool new_base_time);
+ [CCode (returns_floating_reference = true)]
public static Gst.Element? make_from_uri (Gst.URIType type, string uri, string? elementname);
public void message_full (Gst.MessageType type, GLib.Quark domain, int code, owned string? text, owned string? debug, string file, string function, int line);
public bool post_message (owned Gst.Message message);
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 1e0f459..430f191 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
@@ -217,6 +217,8 @@ namespace Gst {
public abstract class Element {
[CCode (cname = "abidata.ABI.target_state")]
public State target_state;
+ [CCode (returns_floating_reference = true)]
+ public static Gst.Element? make_from_uri (Gst.URIType type, string uri, string? elementname);
}
public class ElementFactory {
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 4172ef3..e211ecd 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -137,8 +137,7 @@ gst_element_state_get_name hidden="1"
gst_element_state_change_return_get_name hidden="1"
gst_element_get_bus transfer_ownership="1" nullable="1"
gst_element_set_bus.bus nullable="1"
-gst_element_make_from_uri transfer_ownership="1" nullable="1"
-gst_element_make_from_uri.elementname nullable="1"
+gst_element_make_from_uri hidden="1"
gst_element_get_static_pad transfer_ownership="1" nullable="1"
gst_element_get_pad transfer_ownership="1" nullable="1"
gst_element_get_request_pad transfer_ownership="1" nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]