mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
getch2 vs. gui fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1737 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
39f7f187ef
commit
f96752a528
@ -280,12 +280,7 @@ void exit_player(char* how){
|
||||
total_time_usage_start=GetTimer()-total_time_usage_start;
|
||||
|
||||
// restore terminal:
|
||||
#ifdef HAVE_NEW_GUI
|
||||
if ( !use_gui ) getch2_disable();
|
||||
#else
|
||||
getch2_disable();
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef USE_LIBVO2
|
||||
if(video_out) vo2_close(video_out);
|
||||
@ -1808,11 +1803,7 @@ if(curr_filename+1<num_filenames){
|
||||
// partial uninit:
|
||||
|
||||
// restore terminal:
|
||||
#ifdef HAVE_NEW_GUI
|
||||
if ( !use_gui ) getch2_disable();
|
||||
#else
|
||||
getch2_disable();
|
||||
#endif
|
||||
|
||||
current_module="uninit_vo";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user