Commit f2ba1229 authored by Edward Hervey's avatar Edward Hervey 🤘
Browse files

flacdec: Don't send empty string tags

parent 122d40a7
......@@ -370,7 +370,8 @@ gst_flac_dec_update_metadata (GstFlacDec * flacdec,
if (gst_tag_parse_extended_comment (vc, &name, NULL, &value, TRUE)) {
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 (value);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment