Commit 39b517fa authored by Stefano Sabatini's avatar Stefano Sabatini

lavc/libvpxenc: show crf CQ value in error message

parent 2178abd3
......@@ -341,8 +341,8 @@ static av_cold int vpx_init(AVCodecContext *avctx,
) {
if (ctx->crf < enccfg.rc_min_quantizer || ctx->crf > enccfg.rc_max_quantizer) {
av_log(avctx, AV_LOG_ERROR,
"CQ level must be between minimum and maximum quantizer value (%d-%d)\n",
enccfg.rc_min_quantizer, enccfg.rc_max_quantizer);
"CQ level %d must be between minimum and maximum quantizer value (%d-%d)\n",
ctx->crf, enccfg.rc_min_quantizer, enccfg.rc_max_quantizer);
return AVERROR(EINVAL);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment