diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-08 17:09:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-08 17:26:43 +0200 |
commit | fb795585160a6ce630276802adba27e8d8e363d6 (patch) | |
tree | ee8c7f882da2485ad7726ab3e7a81c764cbecbef | |
parent | 13397025400b8e61af6ef5245c87b3cb32a436eb (diff) | |
download | ffmpeg-fb795585160a6ce630276802adba27e8d8e363d6.tar.gz |
ffmpeg: dont call read_key() in decode_interrupt_cb() this can cause keys to be lost
also its slow when read_key() is slow and there are a very large number of calls
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -614,7 +614,6 @@ static int read_key(void) static int decode_interrupt_cb(void) { - q_pressed += read_key() == 'q'; return q_pressed > 1; } |