mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
rmdemux: fix assertion error when freeing old tags.
Check if old_tags is present before calling gst_tag_list_unref https://bugzilla.gnome.org/show_bug.cgi?id=753301
This commit is contained in:
parent
5e7d0a8285
commit
ecb6099b44
1 changed files with 2 additions and 1 deletions
|
@ -1938,7 +1938,8 @@ gst_rmdemux_parse_cont (GstRMDemux * rmdemux, const guint8 * data, int length)
|
|||
gst_tag_list_merge (old_tags, tags, GST_TAG_MERGE_APPEND);
|
||||
|
||||
gst_tag_list_unref (tags);
|
||||
gst_tag_list_unref (old_tags);
|
||||
if (old_tags)
|
||||
gst_tag_list_unref (old_tags);
|
||||
|
||||
gst_tag_list_set_scope (rmdemux->pending_tags, GST_TAG_SCOPE_GLOBAL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue