projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b01f9b
)
tagmux: Reset final tags for reusing element
author
Seungha Yang
<seungha.yang@navercorp.com>
Mon, 30 Apr 2018 10:49:20 +0000
(19:49 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 1 May 2018 08:51:53 +0000
(09:51 +0100)
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
gst-libs/gst/tag/gsttagmux.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/tag/gsttagmux.c
b/gst-libs/gst/tag/gsttagmux.c
index df0ac8b4fb8485d6fb6f9dfafe66b346d5dc68cb..f9aa0240f77cb905d2282d6c0bcf9896249e522d 100644
(file)
--- a/
gst-libs/gst/tag/gsttagmux.c
+++ b/
gst-libs/gst/tag/gsttagmux.c
@@
-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;