diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2014-09-01 15:10:04 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2014-09-05 13:20:07 +0400 |
commit | 39b517fac0b6d1412b94f30d7be4ec1de65e473a (patch) | |
tree | c1457094da4410ed9f2147c74eab376beecae356 /libavcodec/libvpxenc.c | |
parent | 2178abd3b5311dd334f0380ea9521b18e4f2e564 (diff) |
lavc/libvpxenc: show crf CQ value in error message
Diffstat (limited to 'libavcodec/libvpxenc.c')
-rw-r--r-- | libavcodec/libvpxenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 227c492328..163d12aca6 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -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); } } |