[MPlayer-cvslog] r25014 - trunk/stream/stream_dvd.c
nicodvb
subversion at mplayerhq.hu
Sat Nov 10 21:45:28 CET 2007
Author: nicodvb
Date: Sat Nov 10 21:45:28 2007
New Revision: 25014
Log:
at the end of open() warn users that seeking won't work correctly if the cache is enabled
Modified:
trunk/stream/stream_dvd.c
Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c (original)
+++ trunk/stream/stream_dvd.c Sat Nov 10 21:45:28 2007
@@ -1085,6 +1085,8 @@ static int open_s(stream_t *stream,int m
*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:
More information about the MPlayer-cvslog
mailing list