mirror of https://git.ffmpeg.org/ffmpeg.git
Fix seting of decode_interrupt_cb()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4118d66cb3
commit
9055240761
5
ffmpeg.c
5
ffmpeg.c
|
@ -2505,8 +2505,9 @@ static int transcode(AVFormatContext **output_files,
|
||||||
print_sdp(output_files, nb_output_files);
|
print_sdp(output_files, nb_output_files);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!using_stdin && verbose >= 0) {
|
if (!using_stdin) {
|
||||||
fprintf(stderr, "Press [q] to stop encoding\n");
|
if(verbose >= 0)
|
||||||
|
fprintf(stderr, "Press [q] to stop encoding\n");
|
||||||
url_set_interrupt_cb(decode_interrupt_cb);
|
url_set_interrupt_cb(decode_interrupt_cb);
|
||||||
}
|
}
|
||||||
term_init();
|
term_init();
|
||||||
|
|
Loading…
Reference in New Issue