Mercurial > mplayer.hg
diff Gui/mplayer/mplayer.c @ 6218:8cfddba867b4
fix text render chrash ...
author | pontscho |
---|---|
date | Tue, 28 May 2002 11:55:17 +0000 |
parents | b8d8d72776f2 |
children | d43d0460cad5 |
line wrap: on
line diff
--- a/Gui/mplayer/mplayer.c Tue May 28 10:08:30 2002 +0000 +++ b/Gui/mplayer/mplayer.c Tue May 28 11:55:17 2002 +0000 @@ -42,18 +42,18 @@ if ( mplRedrawTimer == 0 ) mplEventHandling( evRedraw,0 ); } -void mplInit( int argc,char* argv[], char *envp[], void* disp ) +void mplInit( void * disp ) { int i; // init fields of this struct to default values - mplMPlayerInit( argc,argv,envp ); + mplMPlayerInit(); // fork() a process which runs gtkThreadProc() [gtkPID] - gtkInit( argc,argv,envp ); + gtkInit(); // opens X display, checks for extensions (XShape, DGA etc) - wsXInit(disp); + wsXInit( disp ); if ( ( mplDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.main.Bitmap.ImageSize ) ) == NULL ) {