[MPlayer-cvslog] r33557 - trunk/stream/stream_cdda.c

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Dec 23 17:50:46 CET 2011


On Tue, Dec 20, 2011 at 05:10:31PM +0100, Ingo Brückl wrote:
> reimar wrote on Sat,  4 Jun 2011 12:27:51 +0200 (CEST):
> 
> > Constrain libcdparanoia's caching which badly breaks playback with -nocache.
> 
> > Modified: trunk/stream/stream_cdda.c
> > =========================================================================
> > +++ trunk/stream/stream_cdda.c  Sat Jun  4 12:27:45 2011        (r33557)
> > @@ -419,6 +419,9 @@ static int open_cdda(stream_t *st,int m,
> >    if(p->no_skip)
> >      mode |= PARANOIA_MODE_NEVERSKIP;
> >  #ifndef CONFIG_LIBCDIO
> > +  // 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);
> 
> For information only: I still need -cache even with this hack. Stuttering
> only changes from seldom, long-time dropouts to frequent, very short ones.

It worked with my old drive. It doesn't seem to work with my current
drive, but that is because extracting is slower than real-time speeds so
it simply can't work (and there I thought reading audio CDs would be a
standard feature working with all CD drives nowadays - obviously not)...


More information about the MPlayer-cvslog mailing list