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

Address trac ticket #706.
pull/2/head
Stefano Sabatini 13 years ago
parent b404ab9e74
commit 3af5ddb24b
  1. 4
      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;
}

Loading…
Cancel
Save