[gstreamermm] Gst::Allocator: build fix
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] Gst::Allocator: build fix
- Date: Wed, 26 Aug 2015 13:43:11 +0000 (UTC)
commit 0ec42d5f1684b3ffb868b403b96370e2f32bf0ae
Author: Marcin Kolny <marcin kolny gmail com>
Date: Wed Aug 26 13:39:15 2015 +0000
Gst::Allocator: build fix
* tools/m4/convert_gst.m4: add allocator conversion methods.
tools/m4/convert_gst.m4 | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tools/m4/convert_gst.m4 b/tools/m4/convert_gst.m4
index 3f41455..175a524 100644
--- a/tools/m4/convert_gst.m4
+++ b/tools/m4/convert_gst.m4
@@ -85,6 +85,8 @@ _CONVERSION(`GstAllocationParams*', `Gst::AllocationParams', `Gst::AllocationPar
dnl Allocator
_CONVERSION(`const Glib::RefPtr<Gst::Allocator>&',`GstAllocator*', `Glib::unwrap($3)')
+_CONVERSION(`Glib::RefPtr<Gst::Allocator>&&',`GstAllocator*',`($3) ? $3.release()->gobj() : nullptr');
+_CONVERSION(`GstAllocator*', `Glib::RefPtr<Gst::Allocator>', `Glib::wrap($3)')
dnl Buffer
_CONVERSION(`GstBuffer*',`Glib::RefPtr<Gst::Buffer>',`Glib::wrap($3)')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]