[MPlayer-dev-eng] SDL window mode fix

devros devros at seznam.cz
Tue Nov 5 16:52:51 CET 2002


There is guide how to fix window mode in SDL:
Mplayer code incorrectly uses SDL_YUVOverlay. Mplayer calls
SDL_FreeYUVOverlay after video mode switch, which is wrong.
Correct usage is
1) switch video mode using SDL_SetVideoMode
2) create YUVOverlay with SDL_CreateYUVOverlay
3) play movie
4) free YUVOverlay with SDL_FreeYUVOverlay
5) switch video mode using SDL_SetVideoMode


Very thanks, this soft is best...

Devros




More information about the MPlayer-dev-eng mailing list