Mercurial > mplayer.hg
view linux/getch2.h @ 5929:9e7d54e7be58
- frame_time delayed one frame, as it's really duration of current frame,
as suggested by Atmosfear some time ago, when talking about -mf...
- limiting usleep time, to avoid sound skips and ensure responsiveness,
inspired by asf patch from Albeu. it solves problem with very low fps .wmv files
author | arpi |
---|---|
date | Thu, 02 May 2002 02:03:59 +0000 |
parents | 3b5f5d1c5041 |
children |
line wrap: on
line source
/* GyS-TermIO v2.0 (for GySmail v3) (C) 1999 A'rpi/ESP-team */ /* a very small replacement of ncurses library */ /* Screen size. Initialized by load_termcap() and get_screen_size() */ extern int screen_width; extern int screen_height; /* Get screen-size using IOCTL call. */ extern void get_screen_size(); /* Load key definitions from the TERMCAP database. 'termtype' can be NULL */ extern int load_termcap(char *termtype); /* Enable and disable STDIN line-buffering */ extern void getch2_enable(); extern void getch2_disable(); /* Read a character or a special key code (see keycodes.h) */ extern int getch2(int halfdelay_time);