aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhdenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-11-19 23:28:21 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-11-19 23:28:21 +0000
commita4fcd9966b3423c47e1e43598173aa6926a6acc4 (patch)
tree83187afd6ba77a21572e6082cc426f841f2f9682 /libavcodec/dnxhdenc.c
parentbf72597ef48bd37b7286f375a07e9188ab58f164 (diff)
downloadffmpeg-a4fcd9966b3423c47e1e43598173aa6926a6acc4.tar.gz
clarify why the encoder is failing
Originally committed as revision 20556 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r--libavcodec/dnxhdenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index 72378f816d..db0f09dd78 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -783,7 +783,8 @@ static int dnxhd_encode_picture(AVCodecContext *avctx, unsigned char *buf, int b
else
ret = dnxhd_encode_fast(avctx, ctx);
if (ret < 0) {
- av_log(avctx, AV_LOG_ERROR, "picture could not fit ratecontrol constraints\n");
+ av_log(avctx, AV_LOG_ERROR,
+ "picture could not fit ratecontrol constraints, increase qmax\n");
return -1;
}