rtpjitterbuffer: don't free the serialized query
We should never free a serialized query in the queue, it is the upstream caller that will free it.
This commit is contained in:
parent
6c02593386
commit
233e9e64b8
@ -791,7 +791,7 @@ alloc_item (gpointer data, guint type, GstClockTime dts, GstClockTime pts,
|
|||||||
static void
|
static void
|
||||||
free_item (RTPJitterBufferItem * item)
|
free_item (RTPJitterBufferItem * item)
|
||||||
{
|
{
|
||||||
if (item->data)
|
if (item->data && item->type != ITEM_TYPE_QUERY)
|
||||||
gst_mini_object_unref (item->data);
|
gst_mini_object_unref (item->data);
|
||||||
g_slice_free (RTPJitterBufferItem, item);
|
g_slice_free (RTPJitterBufferItem, item);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user