[vala] gstreamer-1.0: Make Element.add_pad parameter unowned
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer-1.0: Make Element.add_pad parameter unowned
- Date: Sun, 16 Mar 2014 14:47:16 +0000 (UTC)
commit 8fd03272c3dea767f757f73d2ff2c8dde70c0331
Author: Luca Bruno <lucabru src gnome org>
Date: Sun Mar 16 15:44:18 2014 +0100
gstreamer-1.0: Make Element.add_pad parameter unowned
Fixes bug 702960
vapi/gstreamer-1.0.vapi | 2 +-
vapi/metadata/Gst-1.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index e042461..9c9a644 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -857,7 +857,7 @@ namespace Gst {
public void abort_state ();
[CCode (cname = "gst_element_class_add_metadata")]
public class void add_metadata (string key, string value);
- public bool add_pad (owned Gst.Pad pad);
+ public bool add_pad (Gst.Pad pad);
[CCode (cname = "gst_element_class_add_pad_template")]
public class void add_pad_template (owned Gst.PadTemplate templ);
[CCode (cname = "gst_element_class_add_static_metadata")]
diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata
index 6b0f227..924272b 100644
--- a/vapi/metadata/Gst-1.0.metadata
+++ b/vapi/metadata/Gst-1.0.metadata
@@ -8,6 +8,7 @@ Bin
Bus
.add_watch_full name="add_watch"
Element
+ .add_pad.pad owned=false
.bus unowned=false
.clock unowned=false
.pads unowned=false
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]