mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
qtdemux: fix tag list leak on unknown stream type
This commit is contained in:
parent
2e3f3375ca
commit
765faa306a
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue