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

Roger Pack rogerdpack2 at gmail.com
Wed Nov 16 19:15:35 CET 2011


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!
-roger-


More information about the MPlayer-dev-eng mailing list