[MPlayer-dev-eng] Fwd: enable libdvdnav cacheing?

Alexander Roalter alexander at roalter.it
Thu Nov 17 00:23:43 CET 2011


On 11/16/2011 07:15 PM, Roger Pack wrote:
> No response from mplayer-users, so forwarding it on here, as I know
> some "knowledgeable" people on the subject sometimes hang out here...
>
> ---------- Forwarded message ----------
>
> Hello.
> I notice when using dvdnav:// this warning message:
>
> Remember to disable MPlayer's cache when playing dvdnav:// streams
> (adding -nocache to your command line)
>
> so I do :)
>
> Also I notice in
>
> stream_dvdnav.c:
>
>   /* turn off dvdnav caching */
>   dvdnav_set_readahead_flag(priv->dvdnav, 0);
>
> My question is...why is this needed? Anybody know why?
>
> VLC seems to enable its internal cacheing, and also has some external
> caching for it ( --dvdnav-caching= [300ms is the default])
>
>   dvdnav_set_readahead_flag( p_sys->dvdnav, DVD_READ_CACHE /* == 1 */ )
>
> Anybody know the motivation for turning it off in mplayer, and/or to
> have to use -nocache with it still?
> Thanks!

As far as I can remember, Nico once said the -nocache is no more 
explicitly needed with dvdnav, but I could be wrong.
Also, the text is displayed irregardless of the option taken, so it 
shows with or without -nocache (which is a bit annoying) I simply 
commented that line out...

-- 
Cheers,
Alex


More information about the MPlayer-dev-eng mailing list