From faedf546b47c3b34523d3c029c5cc362c261f770 Mon Sep 17 00:00:00 2001 From: thor Date: Fri, 6 Apr 2012 17:04:09 +0000 Subject: [PATCH] Also print out description for generic text fields. git-svn-id: svn://scm.orgis.org/mpg123/trunk@3087 35dc7657-300d-0410-a2e5-dc2837fedb53 --- doc/examples/id3dump.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/examples/id3dump.c b/doc/examples/id3dump.c index 7f68978e..649e3314 100644 --- a/doc/examples/id3dump.c +++ b/doc/examples/id3dump.c @@ -99,7 +99,10 @@ void print_raw_v2(mpg123_id3v2 *v2) id[4] = 0; memcpy(lang, v2->text[i].lang, 3); lang[3] = 0; - printf("%s language(%s)\n", id, lang); + if(v2->text[i].description.fill) + printf("%s language(%s) description(%s)\n", id, lang, v2->text[i].description.p); + else printf("%s language(%s)\n", id, lang); + print_lines(" ", &v2->text[i].text); } for(i=0; iextras; ++i)