From a4fcd9966b3423c47e1e43598173aa6926a6acc4 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 19 Nov 2009 23:28:21 +0000 Subject: [PATCH] clarify why the encoder is failing Originally committed as revision 20556 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dnxhdenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }