projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16b28c0
)
tagmux: fix criticals when there are no tags at all
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 28 Nov 2014 13:11:33 +0000
(13:11 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 28 Nov 2014 13:18:38 +0000
(13:18 +0000)
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 1140fe913003d779223b8cc93ef733d29ba6ccb9..1d527904e80166a6b3222eb8d16ec7095a38ec6f 100644
(file)
--- a/
gst-libs/gst/tag/gsttagmux.c
+++ b/
gst-libs/gst/tag/gsttagmux.c
@@
-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;