[gstreamermm] wrapped copy_into method
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] wrapped copy_into method
- Date: Tue, 8 Oct 2013 14:00:29 +0000 (UTC)
commit 8943e3866ec642c4aff1ccf1b9ea6df77a18df42
Author: Marcin Kolny <marcin kolny flytronic pl>
Date: Tue Oct 8 16:00:23 2013 +0200
wrapped copy_into method
gstreamer/src/buffer.hg | 2 +-
gstreamer/src/gst_methods.defs | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/gstreamer/src/buffer.hg b/gstreamer/src/buffer.hg
index c4134ed..5074e5f 100644
--- a/gstreamer/src/buffer.hg
+++ b/gstreamer/src/buffer.hg
@@ -55,7 +55,7 @@ public:
*/
Glib::RefPtr<Gst::Buffer> copy() const;
- _WRAP_METHOD(void copy_into(const Glib::RefPtr<Gst::Buffer>& source_buffer, BufferCopyFlags flags, gsize
offset, gsize size), gst_buffer_copy_into)
+ _WRAP_METHOD(void copy_into(Glib::RefPtr<Gst::Buffer> source_buffer, BufferCopyFlags flags, gsize offset,
gsize size), gst_buffer_copy_into)
_WRAP_METHOD(bool is_metadata_writable() const, gst_buffer_is_metadata_writable)
static Glib::RefPtr<Gst::Buffer> create(guint size);
diff --git a/gstreamer/src/gst_methods.defs b/gstreamer/src/gst_methods.defs
index 57077e2..d1cd813 100644
--- a/gstreamer/src/gst_methods.defs
+++ b/gstreamer/src/gst_methods.defs
@@ -1981,6 +1981,18 @@
(return-type "GstBuffer*")
)
+(define-method copy_into
+ (of-object "GstBuffer")
+ (c-name "gst_buffer_copy_into")
+ (return-type "none")
+ (parameters
+ '("GstBuffer*" "src")
+ '("GstBufferCopyFlags" "flags")
+ '("gsize" "offset")
+ '("gsize" "size")
+ )
+)
+
(define-function gst_buffer_replace
(c-name "gst_buffer_replace")
(return-type "gboolean")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]