From e14fa780ede7b22bf690602608e60bdab944046d Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 7 Dec 2005 11:50:10 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ ext/mad/gstid3tag.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 50a70f8..5ee6fee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-07 Edward Hervey + + * 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 * ext/a52dec/gsta52dec.h: diff --git a/ext/mad/gstid3tag.c b/ext/mad/gstid3tag.c index 1ebdadc..e3a069f 100644 --- a/ext/mad/gstid3tag.c +++ b/ext/mad/gstid3tag.c @@ -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; } -- 2.7.4