From 337542a33163ccb9d836219f8ed202db65401efd Mon Sep 17 00:00:00 2001 From: pontscho Date: Tue, 21 Jan 2003 13:33:40 +0000 Subject: - rewrite sub_fps - add fps support - rewrite history git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9056 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/interface.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Gui/interface.c') diff --git a/Gui/interface.c b/Gui/interface.c index 8bc3b901f1..f757a5cc01 100644 --- a/Gui/interface.c +++ b/Gui/interface.c @@ -597,7 +597,8 @@ int guiGetEvent( int type,char * arg ) #endif break; case guiSetDefaults: - if ( guiIntfStruct.Playing == 1 && guiIntfStruct.FilenameChanged ) +// if ( guiIntfStruct.Playing == 1 && guiIntfStruct.FilenameChanged ) + if ( guiIntfStruct.FilenameChanged ) { audio_id=-1; video_id=-1; @@ -607,10 +608,12 @@ int guiGetEvent( int type,char * arg ) autosync=0; vcd_track=0; dvd_title=0; + force_fps=0; } wsPostRedisplay( &appMPlayer.subWindow ); break; case guiSetParameters: + guiGetEvent( guiSetDefaults,NULL ); switch ( guiIntfStruct.StreamType ) { case STREAMTYPE_PLAYLIST: @@ -754,6 +757,8 @@ plItem * plLastPlayed = NULL; URLItem *URLList = NULL; +char *fsHistory[fsPersistant_MaxPos] = { NULL,NULL,NULL,NULL,NULL }; + #if defined( MP_DEBUG ) && 0 void list( void ) { -- cgit v1.2.3