Commit 765faa30 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

qtdemux: fix tag list leak on unknown stream type

parent 2e3f3375
......@@ -6391,10 +6391,13 @@ gst_qtdemux_add_stream (GstQTDemux * qtdemux,
if (stream->pending_tags)
gst_tag_list_unref (stream->pending_tags);
stream->pending_tags = list;
list = NULL;
/* global tags go on each pad anyway */
stream->send_global_tags = TRUE;
}
done:
if (list)
gst_tag_list_unref (list);
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment