[MPlayer-users] Re: End-of-file and growing files

D Richard Felker III dalias at aerifal.cx
Thu Feb 24 15:13:47 CET 2005


On Thu, Feb 24, 2005 at 01:24:16PM +0100, Nico Sabbi wrote:
> Tuure Laurinolli wrote:
> 
> >
> >Hm, apparently it is actually because of Windows file reading 
> >mechanisms. It tells mplayer it hit the end of file even though there 
> >is over 150 megabytes left. I suspect this happens exactly at where 
> >the end of file was when mplayer opened the file, and I can confirm 
> >that it happens very close to there, checking the length of the file 
> >when starting mplayer and checking what it tried to read when it failed.
> >
> >There must be some workaround, though. Maybe I will have time to look 
> >more into this and make a patch during the weekend.
> 
> 
> if this is what windows makes I can suggest a definitive workaround: 
> format c: and zap windows away for good

a less drastic alternative would be to use cygwin rather than mingw.
cygwin should emulate correct unix semantics for file io. if it
doesn't, it's a bug and should be reported to cygwin developers.

rich




More information about the MPlayer-users mailing list