Mercurial > mplayer.hg
diff Gui/wm/ws.c @ 6794:77980ab4e296
- add preferences support (first try)
- fix some playlist bug
- fix some equ bug
- fix some redraw bug
- fix dvd playing
- fix file open dialog box
- etc.
author | pontscho |
---|---|
date | Thu, 25 Jul 2002 20:26:38 +0000 |
parents | 8f49c75a2824 |
children | 0fa27966ac47 |
line wrap: on
line diff
--- a/Gui/wm/ws.c Thu Jul 25 20:23:18 2002 +0000 +++ b/Gui/wm/ws.c Thu Jul 25 20:26:38 2002 +0000 @@ -293,7 +293,7 @@ { case wsRGB32: mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"rgb32 to rgb32\n" ); - wsConvFunc=BGR8880_to_RGB8880_c; + wsConvFunc=(void *)BGR8880_to_RGB8880_c; break; case wsBGR32: mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"rgb32 to bgr32\n" ); @@ -305,7 +305,7 @@ break; case wsBGR24: mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"rgb32 to bgr24\n" ); - wsConvFunc=BGR8880_to_BGR888_c; + wsConvFunc=(void *)BGR8880_to_BGR888_c; break; case wsRGB16: mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"rgb32 to rgb16\n" ); @@ -313,7 +313,7 @@ break; case wsBGR16: mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"rgb32 to bgr16\n" ); - wsConvFunc=BGR8880_to_BGR565_c; + wsConvFunc=(void *)BGR8880_to_BGR565_c; break; case wsRGB15: mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"rgb32 to rgb15\n" ); @@ -321,7 +321,7 @@ break; case wsBGR15: mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"rgb32 to bgr15\n" ); - wsConvFunc=BGR8880_to_BGR555_c; + wsConvFunc=(void *)BGR8880_to_BGR555_c; break; } XSetErrorHandler( wsErrorHandler ); @@ -874,6 +874,7 @@ { if ( win->ReDraw ) { + win->State=wsWindowExpose; win->ReDraw( wsDisplay,win->WindowID ); XFlush( wsDisplay ); }