summaryrefslogtreecommitdiffstats
path: root/libmpdemux/cddb.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-24 07:20:34 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-24 07:20:34 +0000
commit3a406e94d77b06d75e670cf1ed8ae9c52e207e0a (patch)
tree35cee7d854c288fa5856a9c05700b992eab01fbd /libmpdemux/cddb.c
parent558f53de4bb36589d5da9897eab83d529e0e13f2 (diff)
downloadmpv-3a406e94d77b06d75e670cf1ed8ae9c52e207e0a.tar.bz2
mpv-3a406e94d77b06d75e670cf1ed8ae9c52e207e0a.tar.xz
Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
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;