[vala] gstreamer-0.10: Clean up Gst.Buffer.data binding
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer-0.10: Clean up Gst.Buffer.data binding
- Date: Fri, 5 Mar 2010 21:55:04 +0000 (UTC)
commit 91e5978a787e5de226503731e8b7d5984a47785b
Author: Evan Nemerson <evan coeus-group com>
Date: Fri Mar 5 13:53:25 2010 -0800
gstreamer-0.10: Clean up Gst.Buffer.data binding
Fixes bug 610330.
vapi/gstreamer-0.10.vapi | 5 ++---
.../gstreamer-0.10/gstreamer-0.10.metadata | 3 ++-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index d064081..b0a2a5a 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -64,15 +64,14 @@ namespace Gst {
[CCode (ref_function = "gst_buffer_ref", unref_function = "gst_buffer_unref", cheader_filename = "gst/gst.h")]
public class Buffer : Gst.MiniObject {
public weak Gst.Caps caps;
- [CCode (array_length = false)]
- public weak uchar[] data;
+ [CCode (array_length_cname = "size")]
+ public weak uint8[] data;
public Gst.ClockTime duration;
public weak GLib.FreeFunc free_func;
public uchar malloc_data;
public uint64 offset;
public uint64 offset_end;
public weak Gst.Buffer parent;
- public uint size;
public Gst.ClockTime timestamp;
public Buffer ();
[CCode (has_construct_function = false)]
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index a92931a..4118d52 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -23,7 +23,8 @@ gst_bin_iterate_sources transfer_ownership="1"
gst_bin_iterate_all_by_interface transfer_ownership="1"
gst_bin_find_unconnected_pad transfer_ownership="1"
GstBuffer base_class="GstMiniObject"
-GstBuffer.data is_array="1"
+GstBuffer.data is_array="1" array_length_cname="size" array_length_type="guint" type_name="uint8"
+GstBuffer.size hidden="1"
GstBuffer.mini_object hidden="1"
GstBufferClass hidden="1"
gst_buffer_new hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]