vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Fri Jan 2 15:30:59 2015 +0100| [ab0080f6240302cae76eb8279d1335ae79506cfe] | committer: Jean-Baptiste Kempf
CDDB: add more debug to find the potential issues Ref #4370 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab0080f6240302cae76eb8279d1335ae79506cfe --- modules/access/cdda.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/access/cdda.c b/modules/access/cdda.c index dd483e6..ad1cb07 100644 --- a/modules/access/cdda.c +++ b/modules/access/cdda.c @@ -397,6 +397,7 @@ static int GetTracks( access_t *p_access, input_item_t *p_current ) cddb_disc_t *p_disc = GetCDDBInfo( p_access, i_titles, p_sys->p_sectors ); if( p_disc ) { + msg_Dbg( p_access, "Disc ID: %u", cddb_disc_get_discid( p_disc ) ); psz_album = cddb_disc_get_title( p_disc ); psz_genre = cddb_disc_get_genre( p_disc ); @@ -672,8 +673,11 @@ static cddb_disc_t *GetCDDBInfo( access_t *p_access, int i_titles, int *p_sector const int64_t i_size = ( p_sectors[i+1] - p_sectors[i] ) * (int64_t)CDDA_DATA_SIZE; i_length += INT64_C(1000000) * i_size / 44100 / 4 ; + + msg_Dbg( p_access, "Track %i offset: %i", i, p_sectors[i] + 150 ); } + msg_Dbg( p_access, "Total length: %i", i_length/1000000 ); cddb_disc_set_length( p_disc, (int)(i_length/1000000) ); if( !cddb_disc_calc_discid( p_disc ) ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
