mirror of
https://github.com/mpv-player/mpv
synced 2025-02-26 10:14:33 +00:00
'video window vanishes after pause' bugfix, based on André Kühne's (andre.kuehne@gmx.net) bugreport
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11919 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ba784a31bb
commit
69de035e80
@ -516,7 +516,7 @@ int guiGetEvent( int type,char * arg )
|
||||
{
|
||||
case guiSetPlay:
|
||||
guiIntfStruct.Playing=1;
|
||||
if ( !gtkShowVideoWindow ) wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
|
||||
// if ( !gtkShowVideoWindow ) wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
|
||||
break;
|
||||
case guiSetStop:
|
||||
guiIntfStruct.Playing=0;
|
||||
|
@ -688,6 +688,7 @@ static gboolean prHScaler( GtkWidget * widget,GdkEventMotion * event,gpointer u
|
||||
|
||||
static void prToggled( GtkToggleButton * togglebutton,gpointer user_data )
|
||||
{
|
||||
int window;
|
||||
switch ( (int)user_data )
|
||||
{
|
||||
case 0: // extra stereo coefficient
|
||||
@ -707,9 +708,11 @@ static void prToggled( GtkToggleButton * togglebutton,gpointer user_data )
|
||||
}
|
||||
if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBShowVideoWindow ) ) )
|
||||
{
|
||||
wsVisibleWindow( &appMPlayer.subWindow,wsShowWindow );
|
||||
window=wsShowWindow;
|
||||
gtkActive( Preferences );
|
||||
} else wsVisibleWindow( &appMPlayer.subWindow,wsHideWindow );
|
||||
} else window=wsHideWindow;
|
||||
|
||||
if ( !guiIntfStruct.Playing ) wsVisibleWindow( &appMPlayer.subWindow,window );
|
||||
break;
|
||||
case 4:
|
||||
case 5:
|
||||
|
@ -5,8 +5,6 @@
|
||||
#include "../app.h"
|
||||
|
||||
extern listItems * skinAppMPlayer;
|
||||
//extern listItems * skinAppTV;
|
||||
//extern listItems * skinAppRadio;
|
||||
|
||||
extern int skinRead( char * dname );
|
||||
extern int skinBPRead( char * fname, txSample * bf );
|
||||
|
Loading…
Reference in New Issue
Block a user