mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Delete unused branch in libaomenc
this branch is leftover from libvpxenc+vp8 Signed-off-by: James Zern <jzern@google.com>
This commit is contained in:
parent
ecd026a48d
commit
ea673a0edb
@ -572,15 +572,11 @@ static av_cold int aom_init(AVCodecContext *avctx,
|
||||
enccfg.rc_target_bitrate = av_rescale_rnd(avctx->bit_rate, 1, 1000,
|
||||
AV_ROUND_NEAR_INF);
|
||||
} else if (enccfg.rc_end_usage != AOM_Q) {
|
||||
if (enccfg.rc_end_usage == AOM_CQ) {
|
||||
enccfg.rc_target_bitrate = 1000000;
|
||||
} else {
|
||||
enccfg.rc_end_usage = AOM_Q;
|
||||
ctx->crf = 32;
|
||||
av_log(avctx, AV_LOG_WARNING,
|
||||
"Neither bitrate nor constrained quality specified, using default CRF of %d\n",
|
||||
ctx->crf);
|
||||
}
|
||||
enccfg.rc_end_usage = AOM_Q;
|
||||
ctx->crf = 32;
|
||||
av_log(avctx, AV_LOG_WARNING,
|
||||
"Neither bitrate nor constrained quality specified, using default CRF of %d\n",
|
||||
ctx->crf);
|
||||
}
|
||||
|
||||
if (avctx->qmin >= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user