diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-21 13:33:40 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-21 13:33:40 +0000 |
commit | 337542a33163ccb9d836219f8ed202db65401efd (patch) | |
tree | a97fa3ba73741c313064c62ffc78a66e576a42ba /Gui/interface.c | |
parent | caf9e7d7b3551a3d2f9198526d7d0ffcd8d5b25b (diff) | |
download | mpv-337542a33163ccb9d836219f8ed202db65401efd.tar.bz2 mpv-337542a33163ccb9d836219f8ed202db65401efd.tar.xz |
- rewrite sub_fps
- add fps support
- rewrite history
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9056 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/interface.c')
-rw-r--r-- | Gui/interface.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 ) { |