better filter error message when accidentally reusing outputs
authorrogerdpack <rogerpack2005@gmail.com>
Fri, 28 Dec 2012 18:48:48 +0000 (11:48 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 1 Jan 2013 18:39:10 +0000 (19:39 +0100)
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_opt.c

index e55a33a..67000d9 100644 (file)
@@ -1585,7 +1585,7 @@ static int open_output_file(OptionsContext *o, const char *filename)
 loop_end:
                 if (!ofilter) {
                     av_log(NULL, AV_LOG_FATAL, "Output with label '%s' does not exist "
-                           "in any defined filter graph.\n", map->linklabel);
+                           "in any defined filter graph, or was already used elsewhere.\n", map->linklabel);
                     exit(1);
                 }
                 init_output_filter(ofilter, o, oc);