summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-05 11:39:43 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-05 11:39:43 +0000
commitdfa733c50bc02210b5a9df1411d6c2959e06274a (patch)
treec10b20b6e51306494ccc18287b55543f1a2d44cb
parentb0ab09e0fc88eba5c530d52f090d8c3bccb3b32f (diff)
downloadmpv-dfa733c50bc02210b5a9df1411d6c2959e06274a.tar.bz2
mpv-dfa733c50bc02210b5a9df1411d6c2959e06274a.tar.xz
Add disc ID to -identify output.
patch by Mathieu Schroeter, mathieu.schroeter gamesover ch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27206 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--stream/stream_cddb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream_cddb.c b/stream/stream_cddb.c
index b2c455d5d9..2f177eb7bd 100644
--- a/stream/stream_cddb.c
+++ b/stream/stream_cddb.c
@@ -719,6 +719,8 @@ cddb_resolve(const char *dev, char **xmcd_file) {
cddb_data.disc_id = cddb_discid(cddb_data.tracks);
cddb_data.anonymous = 1; // Don't send user info by default
+ mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_CDDB_DISCID=%08lx\n", cddb_data.disc_id);
+
// Check if there is a CD in the drive
// FIXME: That's not really a good way to check
if( cddb_data.disc_id==0 ) {