summaryrefslogtreecommitdiffstats
path: root/libmpdemux/cddb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/cddb.c')
-rw-r--r--libmpdemux/cddb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/cddb.c b/libmpdemux/cddb.c
index 01b3b2c22e..89a7a22f7b 100644
--- a/libmpdemux/cddb.c
+++ b/libmpdemux/cddb.c
@@ -222,7 +222,7 @@ read_toc(const char *dev) {
int cdd_identify(const char *dev)
{
cdtoc_last_track = 0;
- if (identify)
+ if (mp_msg_test(MSGT_IDENTIFY, MSGL_INFO))
{
int i, min, sec, frame;
cdtoc_last_track = read_toc(dev);
@@ -238,7 +238,7 @@ int cdd_identify(const char *dev)
frame -= sec * 75;
min = sec / 60;
sec -= min * 60;
- mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_CDDA_TRACK_%d_MSF=%02d:%02d:%02d\n", i, min, sec, frame);
+ mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_CDDA_TRACK_%d_MSF=%02d:%02d:%02d\n", i, min, sec, frame);
}
}
return cdtoc_last_track;