mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
vf_scale: give a clue in case of invalid expression self-reference
Address trac ticket #706.
This commit is contained in:
parent
b404ab9e74
commit
3af5ddb24b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user