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
This commit is contained in:
diego 2008-07-05 11:39:43 +00:00
parent b0ab09e0fc
commit dfa733c50b
1 changed files with 2 additions and 0 deletions

View File

@ -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 ) {