summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorPanagiotis H.M. Issaris <takis@issaris.org>2011-03-10 16:07:52 +0100
committerMans Rullgard <mans@mansr.com>2011-03-20 21:13:26 +0000
commitcb48e245e6e770f146220fac0a8bd4dc1a5e006c (patch)
treead4c6e8f7c4331a6ab1f894f32b7713653a4c3aa /libavcodec
parente87a6f0dc99c2266e68ef66afaf83462d353964c (diff)
Do no modify terminal parameters using termios.h
Remove usage of tcgetattr and tcsetattr to modify terminal parameters, and rely on ctrl-c to stop instead of pressing 'q'. On systems with conio.h, keep the old behavior. Changing the terminal settings causes problems if multiple instances are running asynchronously on the same terminal, such as during a parallel FATE run, or if the process crashes before restoring the terminal. In both cases, the terminal state is messed up requiring a manual reset. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions