mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
flacdec: Don't send empty string tags
This commit is contained in:
parent
122d40a742
commit
f2ba1229ba
1 changed files with 2 additions and 1 deletions
|
@ -370,7 +370,8 @@ gst_flac_dec_update_metadata (GstFlacDec * flacdec,
|
||||||
|
|
||||||
if (gst_tag_parse_extended_comment (vc, &name, NULL, &value, TRUE)) {
|
if (gst_tag_parse_extended_comment (vc, &name, NULL, &value, TRUE)) {
|
||||||
GST_DEBUG_OBJECT (flacdec, "%s : %s", name, value);
|
GST_DEBUG_OBJECT (flacdec, "%s : %s", name, value);
|
||||||
gst_vorbis_tag_add (list, name, value);
|
if (value && strlen (value))
|
||||||
|
gst_vorbis_tag_add (list, name, value);
|
||||||
g_free (name);
|
g_free (name);
|
||||||
g_free (value);
|
g_free (value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue