# HG changeset patch # User pontscho # Date 1008674168 0 # Node ID ce6845de334c51ca976435843bdfd5f4f67d65f9 # Parent 831860fada69b75ecc5f1d64283a4092a1cec735 small changes diff -r 831860fada69 -r ce6845de334c mplayer.c --- a/mplayer.c Tue Dec 18 04:00:29 2001 +0000 +++ b/mplayer.c Tue Dec 18 11:16:08 2001 +0000 @@ -628,7 +628,7 @@ printf("Using %s timing\n",softsleep?"software":"usleep()"); #ifdef USE_TERMCAP - if ( !use_gui ) load_termcap(NULL); // load key-codes + load_termcap(NULL); // load key-codes #endif // ========== Init keyboard FIFO (connection to libvo) ============ @@ -685,10 +685,12 @@ #ifdef USE_SUB // check .sub if(sub_name){ +#if 0 int l=strlen(sub_name); if ((l>4) && ((0==strcmp(&sub_name[l-4],".utf")) ||(0==strcmp(&sub_name[l-4],".UTF")))) sub_utf8=1; +#endif subtitles=sub_read_file(sub_name); if(!subtitles || sub_num == 0) mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CantLoadSub,sub_name); } @@ -696,7 +698,9 @@ if(sub_auto && filename) { // auto load sub file ... subtitles=sub_read_file( sub_filename( get_path("sub/"), filename ) ); } +#if 0 if(!subtitles) subtitles=sub_read_file(get_path("default.sub")); // try default +#endif } #endif