ffmpeg: warn that -t does not work with -filter_complex.

This commit is contained in:
Nicolas George 2012-06-28 21:02:31 +02:00
parent 2c793b8501
commit 8069db8633
1 changed files with 3 additions and 0 deletions

View File

@ -4943,6 +4943,9 @@ static void init_output_filter(OutputFilter *ofilter, OptionsContext *o,
"cannot be used together.\n", ost->file_index, ost->index);
exit_program(1);
}
if (o->recording_time != INT64_MAX)
av_log(NULL, AV_LOG_WARNING,
"-t does not work with -filter_complex (yet).\n");
if (configure_output_filter(ofilter->graph, ofilter, ofilter->out_tmp) < 0) {
av_log(NULL, AV_LOG_FATAL, "Error configuring filter.\n");