projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4066a6
)
caps: Use correct size for caps allocation
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Thu, 26 Jan 2012 13:55:30 +0000
(14:55 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Thu, 26 Jan 2012 13:55:30 +0000
(14:55 +0100)
gst/gstcaps.c
patch
|
blob
|
history
diff --git
a/gst/gstcaps.c
b/gst/gstcaps.c
index f85c07e3c8d5eb3f1472b78cad0dd91078410af1..225da6854a6b8d3e76165e85d0d09a6ea2eb320f 100644
(file)
--- a/
gst/gstcaps.c
+++ b/
gst/gstcaps.c
@@
-214,9
+214,9
@@
gst_caps_new_empty (void)
{
GstCaps *caps;
- caps = g_slice_new (GstCaps);
+ caps = g_slice_new (GstCaps
Impl
);
- gst_caps_init (caps, sizeof (GstCaps));
+ gst_caps_init (caps, sizeof (GstCaps
Impl
));
#ifdef DEBUG_REFCOUNT
GST_CAT_TRACE (GST_CAT_CAPS, "created caps %p", caps);