1
0
mirror of http://mpg123.de/trunk/.git synced 2025-07-28 15:02:00 +03:00

also print language of texts

git-svn-id: svn://scm.orgis.org/mpg123/trunk@3085 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
thor
2012-04-06 13:49:03 +00:00
parent b30ad02d5c
commit b9e21b6a72

View File

@ -94,9 +94,12 @@ void print_raw_v2(mpg123_id3v2 *v2)
for(i=0; i<v2->texts; ++i)
{
char id[5];
char lang[4];
memcpy(id, v2->text[i].id, 4);
id[4] = 0;
printf("%s\n", id);
memcpy(lang, v2->text[i].lang, 3);
lang[3] = 0;
printf("%s language(%s)\n", id, lang);
print_lines(" ", &v2->text[i].text);
}
for(i=0; i<v2->extras; ++i)