Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2011-12-05 02:33:40 +0400
committerStefano Sabatini <stefasab@gmail.com>2011-12-06 18:03:51 +0400
commit3af5ddb24b91cfa6e2392b85ef1beafda7e85225 (patch)
tree7d94f23eb1874b66cda0b31b5e5e4c56dff74725 /libavfilter/vf_scale.c
parentb404ab9e74d3bca12d5989c366f5cfd746279067 (diff)
vf_scale: give a clue in case of invalid expression self-reference
Address trac ticket #706.
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r--libavfilter/vf_scale.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index e411406d8a..5bca9fc184 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -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;
}