ext/mad/gstid3tag.c: g_warning() are only for really fatal warnings. If we can't decode a tag, just ignore that tag a...

Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
g_warning() are only for really fatal warnings. If we can't decode a
tag, just ignore that tag and do a GST_WARNING.
This commit is contained in:
Edward Hervey 2005-12-07 11:50:10 +00:00
parent ffe763c043
commit e14fa780ed
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-12-07 Edward Hervey <edward@fluendo.com>
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
g_warning() are only for really fatal warnings. If we can't decode a
tag, just ignore that tag and do a GST_WARNING.
2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/a52dec/gsta52dec.h:

View file

@ -583,7 +583,7 @@ gst_mad_id3_to_tag_list (const struct id3_tag * tag)
continue;
if (!g_utf8_validate ((char *) utf8, -1, NULL)) {
g_warning ("converted string is not valid utf-8");
GST_ERROR ("converted string is not valid utf-8");
g_free (utf8);
continue;
}
@ -610,7 +610,7 @@ gst_mad_id3_to_tag_list (const struct id3_tag * tag)
continue;
if (!g_utf8_validate ((char *) utf8, -1, NULL)) {
g_warning ("converted string is not valid utf-8");
GST_ERROR ("converted string is not valid utf-8");
free (utf8);
continue;
}