Commit 3af5ddb2 authored by Stefano Sabatini's avatar Stefano Sabatini

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

Address trac ticket #706.
parent b404ab9e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment