Revision 8993b596

View differences:

ffmpeg.c
509 509

  
510 510
static int decode_interrupt_cb(void)
511 511
{
512
    return q_pressed || (q_pressed = read_key() == 'q');
512
    q_pressed += read_key() == 'q';
513
    return q_pressed > 1;
513 514
}
514 515

  
515 516
static int ffmpeg_exit(int ret)

Also available in: Unified diff