[FFmpeg-cvslog] ffmpeg: warn that -t does not work with -filter_complex.

Nicolas George git at videolan.org
Thu Jun 28 21:48:52 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Thu Jun 28 21:02:31 2012 +0200| [8069db86338de422485751e5970b512cd4705454] | committer: Nicolas George

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8069db86338de422485751e5970b512cd4705454
---

 ffmpeg.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index 2bf7832..f442638 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");



More information about the ffmpeg-cvslog mailing list