[MPlayer-cygwin] DVD startup mingw vs cygwin

Sascha Sommer saschasommer at freenet.de
Fri Feb 11 15:29:48 CET 2005


> I think also stat struct (e.g. used by ffmpeg), seek and off_t should be
> changed, but this can somehow incompatible with mingw api.
> I was working with long long off_t by this will broke stat/fstat.
> I don't think mplayer should be patched in tree to avoid this mingw
> breakage, I've made the fix as temp workaround, I would to prefer
> to fix it in mingw, since I also compile ffmpeg and it has different
> but related problems. Your fix should work but if used togheter with
> sys/types.h patch and sys/types.h patch interfer with ffmpeg.
> So imho it's better to do not fix this on mplayer and use patches as a
> workaround until a clean solution is found on mingw.
> I think the problem can be solved in a clean way by patching some mingw
> includes, I'll make some tests soon.
>

I totally agree. Btw. I though the mingw header only use _off_t so defining 
off_t to 64 bit wasn't a problem. Someday someone should also patch mingw to 
support memalign. I think the malloc implementation from cygwin gives better 
performance than the native windows one anyway.

Sascha
 




More information about the MPlayer-cygwin mailing list