[MPlayer-G2-dev] [PATCH] Mingw fixes and experimental vo directx

Arpi arpi at thot.banki.hu
Mon Aug 4 23:53:19 CEST 2003


Hi,

> Attached are some fixes for better mingw support. They are mainly backported
> from main cvs.

Applied, except the timer-win.c part.
You should implement real timer, the busy waiting thing (softsleep) doesn't
work alone. The OS will intercept the process anyway, so unless you 'let it
do at the right time' it will intercept in the middle of your busy loop
causing timer overflows. So you should use some sleep function which makes
your process idle for the given time, so the OS can schedule other tasks
for that period.

> The other patch, which, imho shouldn't be applied, contains a directx driver
> for libvo2.

Ok, didn't apply. The win_util thing looks nice, although the directx is
ugly (not your code, but the oh-so-long directx defines and guids :))

> When all patches are applied mplayer should be compileable without network
> support.

Any plans to port win32 network part from cvs?



A'rpi / Astral & ESP-team

--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu



More information about the MPlayer-G2-dev mailing list