plugins/elements/gstmultiqueue.c: Don't use GSlice because we don't depend on >= 2.10 yet.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
(gst_multi_queue_item_new):
Don't use GSlice because we don't depend on >= 2.10 yet.
This commit is contained in:
Wim Taymans 2007-06-15 11:35:22 +00:00
parent 7eeb31033d
commit b0801cc962
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2007-06-15 Wim Taymans <wim@fluendo.com>
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
(gst_multi_queue_item_new):
Don't use GSlice because we don't depend on >= 2.10 yet.
2007-06-15 Wim Taymans <wim@fluendo.com>
* plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),

View file

@ -604,7 +604,7 @@ gst_multi_queue_item_destroy (GstMultiQueueItem * item)
{
if (item->object)
gst_mini_object_unref (item->object);
g_slice_free (GstMultiQueueItem, item);
g_free (item);
}
/* takes ownership of passed mini object! */
@ -613,7 +613,7 @@ gst_multi_queue_item_new (GstMiniObject * object, guint32 curid)
{
GstMultiQueueItem *item;
item = g_slice_new (GstMultiQueueItem);
item = g_new (GstMultiQueueItem, 1);
item->object = object;
item->destroy = (GDestroyNotify) gst_multi_queue_item_destroy;
item->posid = curid;