# HG changeset patch # User reimar # Date 1325175118 0 # Node ID 475b95b38f5975f34014671f4c641c9d4de30da2 # Parent 15b9cddb0c6ee5db2197bcb9f7acfa308ff80bc8 Add comment to a condition that is just a hack around a cdparanoia bug. diff -r 15b9cddb0c6e -r 475b95b38f59 stream/stream_cdda.c --- a/stream/stream_cdda.c Thu Dec 29 16:10:12 2011 +0000 +++ b/stream/stream_cdda.c Thu Dec 29 16:11:58 2011 +0000 @@ -431,6 +431,9 @@ // HACK against libcdparanoia's stupid caching model that // queues up a huge number of requests leading to stuttering paranoia_cachemodel_size(priv->cdp, 24); + // For some incomprehensible reason cdparanoia breaks the + // track->sector lookup of calling paranoia_modeset with + // PARANOIA_MODE_DISABLE if (mode != PARANOIA_MODE_DISABLE) paranoia_modeset(cdd, mode); if(p->search_overlap > 0)