mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tagmux: fix criticals when there are no tags at all
This commit is contained in:
parent
16b28c0d47
commit
19d2a5255c
1 changed files with 3 additions and 0 deletions
|
@ -222,6 +222,9 @@ gst_tag_mux_get_tags (GstTagMux * mux)
|
|||
mux->priv->final_tags =
|
||||
gst_tag_list_merge (tagsetter_tags, mux->priv->event_tags, merge_mode);
|
||||
|
||||
if (mux->priv->final_tags == NULL)
|
||||
mux->priv->final_tags = gst_tag_list_new_empty ();
|
||||
|
||||
GST_LOG_OBJECT (mux, "final tags: %" GST_PTR_FORMAT, mux->priv->final_tags);
|
||||
|
||||
return mux->priv->final_tags;
|
||||
|
|
Loading…
Reference in a new issue