projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
122d40a
)
flacdec: Don't send empty string tags
author
Edward Hervey
<bilboed@bilboed.com>
Wed, 1 Jul 2009 06:40:40 +0000
(08:40 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Wed, 1 Jul 2009 06:40:40 +0000
(08:40 +0200)
ext/flac/gstflacdec.c
patch
|
blob
|
history
diff --git
a/ext/flac/gstflacdec.c
b/ext/flac/gstflacdec.c
index
2276ac7
..
3f9c75f
100644
(file)
--- a/
ext/flac/gstflacdec.c
+++ b/
ext/flac/gstflacdec.c
@@
-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);
}