ffmpeg: better warning about loop_input

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-12-10 21:00:38 +01:00
parent 78fde9323d
commit 934fe00680
1 changed files with 4 additions and 1 deletions

View File

@ -3395,7 +3395,10 @@ static int opt_input_file(OptionsContext *o, const char *opt, const char *filena
ic->interrupt_callback = int_cb; ic->interrupt_callback = int_cb;
if (loop_input) { if (loop_input) {
av_log(NULL, AV_LOG_WARNING, "-loop_input is deprecated, use -loop 1\n"); av_log(NULL, AV_LOG_WARNING,
"-loop_input is deprecated, use -loop 1\n"
"Note, both loop options only work with -f image2\n"
);
ic->loop_input = loop_input; ic->loop_input = loop_input;
} }