better filter error message when accidentally reusing outputs

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
rogerdpack 2012-12-28 11:48:48 -07:00 committed by Michael Niedermayer
parent ecda1d3cbe
commit 10a9277562

View 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);