diff options
author | wm4 <wm4@nowhere> | 2013-12-14 01:15:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-14 01:15:56 +0100 |
commit | 8510ddba4c51a2fd27f2a96508b963e4cf5c9857 (patch) | |
tree | 4d9ccc65f3b27d403d1493a574edcc6b8570ab3c | |
parent | 60025209061a6d6db41b678efc7fd61662d3c76e (diff) | |
download | mpv-8510ddba4c51a2fd27f2a96508b963e4cf5c9857.tar.bz2 mpv-8510ddba4c51a2fd27f2a96508b963e4cf5c9857.tar.xz |
dvdnav: enable caching
No idea why this was disabled. It was in the original MPlayer code,
which doesn't make much sense to me, because using the MPlayer stream
cache seems 100% broken due to design issues.
-rw-r--r-- | stream/stream_dvdnav.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 6d019cbf43..3213665051 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -643,8 +643,7 @@ static struct priv *new_dvdnav_stream(struct priv *priv, char *filename) if (!priv->dvdnav) return NULL; - /* turn off dvdnav caching */ - dvdnav_set_readahead_flag(priv->dvdnav, 0); + dvdnav_set_readahead_flag(priv->dvdnav, 1); if (dvdnav_set_PGC_positioning_flag(priv->dvdnav, 1) != DVDNAV_STATUS_OK) mp_msg(MSGT_OPEN, MSGL_ERR, "stream_dvdnav, failed to set PGC positioning\n"); |