summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2011-12-04 23:33:40 +0100
committerStefano Sabatini <stefasab@gmail.com>2011-12-06 15:03:51 +0100
commit3af5ddb24b91cfa6e2392b85ef1beafda7e85225 (patch)
tree7d94f23eb1874b66cda0b31b5e5e4c56dff74725 /libavfilter
parentb404ab9e74d3bca12d5989c366f5cfd746279067 (diff)
downloadffmpeg-streaming-3af5ddb24b91cfa6e2392b85ef1beafda7e85225.zip
ffmpeg-streaming-3af5ddb24b91cfa6e2392b85ef1beafda7e85225.tar.gz
vf_scale: give a clue in case of invalid expression self-reference
Address trac ticket #706.
Diffstat (limited to 'libavfilter')
-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 e411406..5bca9fc 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;
}
OpenPOWER on IntegriCloud