mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 10:22:10 +00:00
lavc/libvpxenc: show crf CQ value in error message
This commit is contained in:
parent
2178abd3b5
commit
39b517fac0
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user