[MPlayer-cvslog] r34468 - trunk/stream/stream_cdda.c
ib
subversion at mplayerhq.hu
Wed Dec 28 15:14:12 CET 2011
Author: ib
Date: Wed Dec 28 15:14:12 2011
New Revision: 34468
Log:
Don't call paranoia_modeset() for PARANOIA_MODE_DISABLE.
cdparanoia destroys start sector information after such a call.
Since it is pointless without setting a mode anyway, don't do it.
Modified:
trunk/stream/stream_cdda.c
Modified: trunk/stream/stream_cdda.c
==============================================================================
--- trunk/stream/stream_cdda.c Wed Dec 28 15:04:27 2011 (r34467)
+++ trunk/stream/stream_cdda.c Wed Dec 28 15:14:12 2011 (r34468)
@@ -431,7 +431,7 @@ static int open_cdda(stream_t *st,int m,
// HACK against libcdparanoia's stupid caching model that
// queues up a huge number of requests leading to stuttering
paranoia_cachemodel_size(priv->cdp, 24);
- paranoia_modeset(cdd, mode);
+ if (mode != PARANOIA_MODE_DISABLE) paranoia_modeset(cdd, mode);
if(p->search_overlap > 0)
paranoia_overlapset(cdd,p->search_overlap);
More information about the MPlayer-cvslog
mailing list