[FFmpeg-devel] [PATCH] lavc/libvpxenc: show crf CQ value in error message
Stefano Sabatini
stefasab at gmail.com
Mon Sep 1 14:05:49 CEST 2014
---
libavcodec/libvpxenc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index 227c492..163d12a 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);
}
}
--
1.8.3.2
More information about the ffmpeg-devel
mailing list