mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
7eeb31033d
commit
b0801cc962
2 changed files with 8 additions and 2 deletions
|
@ -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),
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue