[MPlayer-dev-eng] bug+[PATCH] video window vanishes after pause

André Kühne andre.kuehne at gmx.net
Fri Jan 30 11:13:26 CET 2004


Diego Biurrun writes:
  > Hmm, cannot reproduce here...   What exactly is going wrong?

You are right, i forgot to mention that you have to deactivate the
option "Preferences->Misc->Show video window when inactive", to 
reproduce it.

If you look at the concerning codeline 519 in Gui/interface.c, it 
seems like it has been copied by accident from the "stop" case of the 
switch clause:

    case guiCEvent:
         switch ( (int)arg )
	 {
	  case guiSetPlay:
	       guiIntfStruct.Playing=1;
	       if ( !gtkShowVideoWindow ) wsVisibleWindow( 
&appMPlayer.subWindow,wsHideWindow );  // <----
	       break;
	  case guiSetStop:
	       guiIntfStruct.Playing=0;
	       if ( !gtkShowVideoWindow ) wsVisibleWindow( 
&appMPlayer.subWindow,wsHideWindow );  // <----
	       break;
           case guiSetPause: guiIntfStruct.Playing=2; break;
	 }

--
Andre




More information about the MPlayer-dev-eng mailing list