[Mplayer-cvslog] CVS: main mplayer.c,1.146,1.147

Zoltan Ponekker pontscho at users.sourceforge.net
Mon Jun 4 20:40:59 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv30835

Modified Files:
	mplayer.c 
Log Message:
terminal reset bug with gui fixed

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -C2 -r1.146 -r1.147
*** mplayer.c	2001/06/04 17:58:32	1.146
--- mplayer.c	2001/06/04 18:40:57	1.147
***************
*** 338,342 ****
    if(verbose) printf("max framesize was %d bytes\n",max_framesize);
    // restore terminal:
!   getch2_disable();
    video_out->uninit();
  #ifdef USE_XMMP_AUDIO
--- 338,345 ----
    if(verbose) printf("max framesize was %d bytes\n",max_framesize);
    // restore terminal:
!   #ifdef HAVE_GUI
!    if ( nogui )
!   #endif
!      getch2_disable();
    video_out->uninit();
  #ifdef USE_XMMP_AUDIO
***************
*** 463,466 ****
--- 466,471 ----
  int osd_last_pts=-303;
  
+ float a_frame=0;    // Audio
+ 
  float rel_seek_secs=0;
  
***************
*** 1385,1389 ****
  float frame_correction=0; // A-V timestamp kulonbseg atlagolas
  int frame_corr_num=0;   //
- float a_frame=0;    // Audio
  float v_frame=0;    // Video
  float time_frame=0; // Timer
--- 1390,1393 ----
***************
*** 1408,1415 ****
--- 1412,1426 ----
  #endif
  
+   #ifdef HAVE_GUI
+    if ( nogui )
+     {
+   #endif
  #ifdef USE_TERMCAP
    load_termcap(NULL); // load key-codes
  #endif
    if(f) getch2_enable();
+   #ifdef HAVE_GUI
+    }
+   #endif 
  
    //========= Catch terminate signals: ================


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list