summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-06-28 21:02:31 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-06-28 21:40:50 +0200
commit8069db86338de422485751e5970b512cd4705454 (patch)
tree612ee8e008e6527f99a00eb81a092bdfd56dd2da /ffmpeg.c
parent2c793b8501fcf7fed579a756c8b95d8bd1ce61b2 (diff)
ffmpeg: warn that -t does not work with -filter_complex.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 2bf783278c..f442638736 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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");