Browse Source

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

Address trac ticket #706.
tags/n0.9
Stefano Sabatini 13 years ago
parent
commit
3af5ddb24b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavfilter/vf_scale.c

+ 3
- 1
libavfilter/vf_scale.c 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;
}



Loading…
Cancel
Save