diff Gui/mplayer/mplayer.c @ 1742:0880718750d5

fix signalhandling
author pontscho
date Wed, 29 Aug 2001 13:52:08 +0000
parents 5e4214a7540e
children 48e6351f5714
line wrap: on
line diff
--- a/Gui/mplayer/mplayer.c	Wed Aug 29 13:44:12 2001 +0000
+++ b/Gui/mplayer/mplayer.c	Wed Aug 29 13:52:08 2001 +0000
@@ -53,7 +53,7 @@
 // parse_cfgfiles( argc,argv,envp );
 
  // allocates shmem to gtkShMem
- // fork() a process which runs gtkThreadProc()  [gtkChildPID]
+ // fork() a process which runs gtkThreadProc()  [gtkPID]
  gtkInit( argc,argv,envp );
 
  // allocates shmem to mplShMem
@@ -76,6 +76,7 @@
   wsNoBorder,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,wsShowFrame|wsShowWindow,"ViDEO" );
 
  vo_setwindow(appMPlayer.subWindow.WindowID, appMPlayer.subWindow.wGC);
+ vo_setwindowsize( appMPlayer.sub.width,appMPlayer.sub.height );
  mplSubRender=0;
  
  wsCreateWindow( &appMPlayer.mainWindow,