[FFmpeg-devel] [PATCH 2/2] ffmpeg: warn that -t does not work with -filter_complex.

Nicolas George nicolas.george at normalesup.org
Thu Jun 28 21:09:15 CEST 2012


Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 ffmpeg.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index 8878ecc..25858a1 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");
-- 
1.7.10



More information about the ffmpeg-devel mailing list