Mercurial > mplayer.hg
changeset 24986:42482c2e8f6c
at the end of open() warn users that seeking won't work correctly if the cache is enabled
author | nicodvb |
---|---|
date | Sat, 10 Nov 2007 20:45:28 +0000 |
parents | e09187679c34 |
children | 6df2a14e2cf6 |
files | stream/stream_dvd.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvd.c Sat Nov 10 19:48:17 2007 +0000 +++ b/stream/stream_dvd.c Sat Nov 10 20:45:28 2007 +0000 @@ -1085,6 +1085,8 @@ *file_format = DEMUXER_TYPE_MPEG_PS; mp_msg(MSGT_DVD,MSGL_V,"DVD start=%d end=%d \n",d->cur_pack,d->cur_pgc->cell_playback[d->last_cell-1].last_sector); stream->priv = (void*)d; + if(stream_cache_size > 0) + mp_msg(MSGT_DVD,MSGL_INFO,"[stream_dvd] Warning! the cache is enabled. Seeking won't work correctly\n"); return STREAM_OK; fail: