OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2178abd
)
lavc/libvpxenc: show crf CQ value in error message
author
Stefano Sabatini
<stefasab@gmail.com>
Mon, 1 Sep 2014 11:10:04 +0000
(13:10 +0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Fri, 5 Sep 2014 09:20:07 +0000
(11:20 +0200)
libavcodec/libvpxenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/libvpxenc.c
b/libavcodec/libvpxenc.c
index
227c492
..
163d12a
100644
(file)
--- 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);
}
}