Mercurial > libavcodec.hg
comparison dnxhdenc.c @ 10541:5afea08b89d4 libavcodec
clarify why the encoder is failing
author | bcoudurier |
---|---|
date | Thu, 19 Nov 2009 23:28:21 +0000 |
parents | 08e50bcdcbf1 |
children | 5a298a61c6cc |
comparison
equal
deleted
inserted
replaced
10540:526cab0b961a | 10541:5afea08b89d4 |
---|---|
781 if (avctx->mb_decision == FF_MB_DECISION_RD) | 781 if (avctx->mb_decision == FF_MB_DECISION_RD) |
782 ret = dnxhd_encode_rdo(avctx, ctx); | 782 ret = dnxhd_encode_rdo(avctx, ctx); |
783 else | 783 else |
784 ret = dnxhd_encode_fast(avctx, ctx); | 784 ret = dnxhd_encode_fast(avctx, ctx); |
785 if (ret < 0) { | 785 if (ret < 0) { |
786 av_log(avctx, AV_LOG_ERROR, "picture could not fit ratecontrol constraints\n"); | 786 av_log(avctx, AV_LOG_ERROR, |
787 "picture could not fit ratecontrol constraints, increase qmax\n"); | |
787 return -1; | 788 return -1; |
788 } | 789 } |
789 | 790 |
790 dnxhd_setup_threads_slices(ctx); | 791 dnxhd_setup_threads_slices(ctx); |
791 | 792 |