[Mplayer-cvslog] CVS: main/Gui interface.c,1.75,1.76
Zoltan Ponekker
pontscho at mplayerhq.hu
Sat Jan 25 11:04:34 CET 2003
Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv11427/Gui
Modified Files:
interface.c
Log Message:
- fix -fs
- set sub_fps to null for new files
- fix one sig11, if you play vcd, and the disc is not vcd, playtree is dead
- add playbar vertical position support
- etc.
Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- interface.c 21 Jan 2003 19:12:45 -0000 1.75
+++ interface.c 25 Jan 2003 10:03:57 -0000 1.76
@@ -170,7 +170,6 @@
#ifdef HAVE_DXR3
if ( !gtkDXR3Device ) gtkDXR3Device=strdup( "/dev/em8300-0" );
#endif
- fullscreen=gtkLoadFullscreen;
if ( stream_cache_size != -1 ) { gtkCacheOn=1; gtkCacheSize=stream_cache_size; }
if ( autosync && autosync != gtkAutoSync ) { gtkAutoSyncOn=1; gtkAutoSync=autosync; }
@@ -189,7 +188,7 @@
case -2: mp_msg( MSGT_GPLAYER,MSGL_ERR,MSGTR_SKIN_SKINCFG_SkinCfgReadError,skinName ); exit( 0 );
}
// --- initialize windows
- if ( ( mplDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.main.Bitmap.ImageSize ) ) == NULL )
+ if ( ( mplDrawBuffer = (unsigned char *)malloc( appMPlayer.main.Bitmap.ImageSize ) ) == NULL )
{
fprintf( stderr,MSGTR_NEMDB );
exit( 0 );
@@ -259,6 +258,7 @@
appMPlayer.subWindow.Mapped=wsMapped;
}
+ if ( !fullscreen ) fullscreen=gtkLoadFullscreen;
if ( fullscreen )
{
mplFullScreen();
More information about the MPlayer-cvslog
mailing list