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

Ingo Brückl ib at wupperonline.de
Tue Dec 20 17:10:31 CET 2011


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.

Ingo


More information about the MPlayer-cvslog mailing list