mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
tagmux: Reset final tags for reusing element
If the output tag had been exposed, it never ever updated even if we reset the tagmux using state change. https://bugzilla.gnome.org/show_bug.cgi?id=795691
This commit is contained in:
parent
5b01f9bbc2
commit
46c024ea3d
1 changed files with 4 additions and 0 deletions
|
@ -537,6 +537,10 @@ gst_tag_mux_change_state (GstElement * element, GstStateChange transition)
|
|||
gst_tag_list_unref (mux->priv->event_tags);
|
||||
mux->priv->event_tags = NULL;
|
||||
}
|
||||
if (mux->priv->final_tags) {
|
||||
gst_tag_list_unref (mux->priv->final_tags);
|
||||
mux->priv->final_tags = NULL;
|
||||
}
|
||||
mux->priv->start_tag_size = 0;
|
||||
mux->priv->end_tag_size = 0;
|
||||
mux->priv->render_start_tag = TRUE;
|
||||
|
|
Loading…
Reference in a new issue