1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

vf_scale: give a clue in case of invalid expression self-reference

Address trac ticket #706.
This commit is contained in:
Stefano Sabatini 2011-12-04 23:33:40 +01:00
parent b404ab9e74
commit 3af5ddb24b

View File

@ -242,7 +242,9 @@ static int config_props(AVFilterLink *outlink)
fail:
av_log(NULL, AV_LOG_ERROR,
"Error when evaluating the expression '%s'\n", expr);
"Error when evaluating the expression '%s'.\n"
"Maybe the expression for out_w:'%s' or for out_h:'%s' is self-referencing.\n",
expr, scale->w_expr, scale->h_expr);
return ret;
}