diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-03-07 17:23:32 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-07 17:23:32 +0100 |
commit | 90552407613d06d1c0f5a196e1d5844eeb98ce65 (patch) | |
tree | bf6d8414852be896632ff76e58446a300334791a | |
parent | 4118d66cb39f96a227c2f90d325a73045afe091e (diff) | |
download | ffmpeg-90552407613d06d1c0f5a196e1d5844eeb98ce65.tar.gz |
Fix seting of decode_interrupt_cb()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2505,8 +2505,9 @@ static int transcode(AVFormatContext **output_files, print_sdp(output_files, nb_output_files); } - if (!using_stdin && verbose >= 0) { - fprintf(stderr, "Press [q] to stop encoding\n"); + if (!using_stdin) { + if(verbose >= 0) + fprintf(stderr, "Press [q] to stop encoding\n"); url_set_interrupt_cb(decode_interrupt_cb); } term_init(); |