mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 05:28:48 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue