comparison mplayer.c @ 1816:c8bc613eb4f8

fixed 'n' key bug :)
author arpi
date Fri, 31 Aug 2001 22:35:04 +0000
parents 84c9a29bb6c3
children 35d88a433502
comparison
equal deleted inserted replaced
1815:eff8f3c200fa 1816:c8bc613eb4f8
553 553
554 #ifdef USE_TERMCAP 554 #ifdef USE_TERMCAP
555 if ( !use_gui ) load_termcap(NULL); // load key-codes 555 if ( !use_gui ) load_termcap(NULL); // load key-codes
556 #endif 556 #endif
557 557
558 // ========== Init keyboard FIFO (connection to libvo) ============
559 make_pipe(&keyb_fifo_get,&keyb_fifo_put);
558 560
559 //========= Catch terminate signals: ================ 561 //========= Catch terminate signals: ================
560 // terminate requests: 562 // terminate requests:
561 signal(SIGTERM,exit_sighandler); // kill 563 signal(SIGTERM,exit_sighandler); // kill
562 signal(SIGHUP,exit_sighandler); // kill -HUP / xterm closed 564 signal(SIGHUP,exit_sighandler); // kill -HUP / xterm closed
918 if((encode_file=fopen(encode_index_name,"wb"))) 920 if((encode_file=fopen(encode_index_name,"wb")))
919 fclose(encode_file); 921 fclose(encode_file);
920 else encode_index_name=NULL; 922 else encode_index_name=NULL;
921 sh_audio=d_audio->sh=NULL; 923 sh_audio=d_audio->sh=NULL;
922 } 924 }
923
924 // ========== Init keyboard FIFO (connection to libvo) ============
925
926 make_pipe(&keyb_fifo_get,&keyb_fifo_put);
927 925
928 // ========== Init display (sh_video->disp_w*sh_video->disp_h/out_fmt) ============ 926 // ========== Init display (sh_video->disp_w*sh_video->disp_h/out_fmt) ============
929 927
930 current_module="init_libvo"; 928 current_module="init_libvo";
931 929