[FFmpeg-cvslog] ffmpeg: better warning about loop_input

Michael Niedermayer git at videolan.org
Sat Dec 10 21:04:50 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 10 21:00:38 2011 +0100| [934fe00680a1139cbc0950641655af5923dd7763] | committer: Michael Niedermayer

ffmpeg: better warning about loop_input

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 ffmpeg.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 9ba9d77..ee79e32 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3395,7 +3395,10 @@ static int opt_input_file(OptionsContext *o, const char *opt, const char *filena
     ic->interrupt_callback = int_cb;
 
     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;
     }
 



More information about the ffmpeg-cvslog mailing list