Commit fb795585 authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 13397025
......@@ -614,7 +614,6 @@ static int read_key(void)
static int decode_interrupt_cb(void)
{
q_pressed += read_key() == 'q';
return q_pressed > 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment