summaryrefslogtreecommitdiff
path: root/gst/gstmemory.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-01-30 13:28:34 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-01-30 13:28:34 +0100
commitf8c6cd196e6472d2859bac24d64c9b77d59852da (patch)
treef7fe490312b2a5dd0d53b07172ebd0f16c06d127 /gst/gstmemory.c
parentaf2fc026fc521df3cc3d299598c339a721934d80 (diff)
memory: add boxed GType for the allocator
Diffstat (limited to 'gst/gstmemory.c')
-rw-r--r--gst/gstmemory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/gstmemory.c b/gst/gstmemory.c
index 4e822edd2..573d4f1f6 100644
--- a/gst/gstmemory.c
+++ b/gst/gstmemory.c
@@ -73,6 +73,9 @@
G_DEFINE_BOXED_TYPE (GstMemory, gst_memory, (GBoxedCopyFunc) gst_memory_ref,
(GBoxedFreeFunc) gst_memory_unref);
+G_DEFINE_BOXED_TYPE (GstAllocator, gst_allocator,
+ (GBoxedCopyFunc) gst_allocator_ref, (GBoxedFreeFunc) gst_allocator_unref);
+
/**
* gst_memory_alignment:
*