[vala] gstreamer-0.10: Fix Gst.Preset interface bindings
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer-0.10: Fix Gst.Preset interface bindings
- Date: Thu, 24 Jun 2010 16:02:20 +0000 (UTC)
commit d17ff09ae607e663b74d93000618a52f64de8751
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date: Thu Jun 24 10:38:41 2010 +0200
gstreamer-0.10: Fix Gst.Preset interface bindings
vapi/gstreamer-0.10.vapi | 8 +++++---
.../gstreamer-0.10/gstreamer-0.10.metadata | 3 +++
2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 3c0dd84..8c2e20d 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -1433,9 +1433,11 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public interface Preset {
public abstract bool delete_preset (string name);
- public abstract bool get_meta (string name, string tag, string value);
- public abstract unowned string get_preset_names ();
- public abstract unowned string get_property_names ();
+ public abstract bool get_meta (string name, string tag, out string value);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public abstract string[] get_preset_names ();
+ [CCode (array_length = false, array_null_terminated = true)]
+ public abstract string[] get_property_names ();
public abstract bool load_preset (string name);
public abstract bool rename_preset (string old_name, string new_name);
public abstract bool save_preset (string name);
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 8170efc..e84168b 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -635,3 +635,6 @@ GstPluginFeature.* hidden="1"
gst_plugin_feature_type_name_filter hidden="1"
gst_plugin_feature_load transfer_ownership="1" nullable="1"
GstPollFD hidden="1"
+gst_preset_get_meta.value is_out="1" transfer_ownership="1"
+gst_preset_get_preset_names is_array="1" array_null_terminated="1" transfer_ownership="1"
+gst_preset_get_property_names is_array="1" array_null_terminated="1" transfer_ownership="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]