[tracker/tracker-0.10] tracker-extract-mp3: Add simple frame tracing to ID3v2.2 and ID3v2.3
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-extract-mp3: Add simple frame tracing to ID3v2.2 and ID3v2.3
- Date: Thu, 12 May 2011 09:36:02 +0000 (UTC)
commit d46af5e673ffaa1c5680e5aa302ca9791d5f376f
Author: Jürg Billeter <j bitron ch>
Date: Wed May 11 14:52:19 2011 +0200
tracker-extract-mp3: Add simple frame tracing to ID3v2.2 and ID3v2.3
src/tracker-extract/tracker-extract-mp3.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c
index 0b31589..933a72f 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -1256,7 +1256,7 @@ get_id3v24_tags (id3v24frame frame,
}
#ifdef FRAME_ENABLE_TRACE
- g_debug ("Frame is %d, word is %s", frame, word);
+ g_debug ("ID3v2.4: Frame is %d, word is %s", frame, word);
#endif /* FRAME_ENABLE_TRACE */
switch (frame) {
@@ -1445,6 +1445,10 @@ get_id3v23_tags (id3v24frame frame,
g_strstrip (word);
}
+#ifdef FRAME_ENABLE_TRACE
+ g_debug ("ID3v2.3: Frame is %d, word is %s", frame, word);
+#endif /* FRAME_ENABLE_TRACE */
+
switch (frame) {
case ID3V24_TALB:
tag->album = word;
@@ -1586,6 +1590,10 @@ get_id3v20_tags (id3v2frame frame,
g_strstrip (word);
}
+#ifdef FRAME_ENABLE_TRACE
+ g_debug ("ID3v2.2: Frame is %d, word is %s", frame, word);
+#endif /* FRAME_ENABLE_TRACE */
+
switch (frame) {
case ID3V2_COM:
tag->comment = word;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]