|
@@ -320,7 +320,7 @@ static av_cold int vpx_init(AVCodecContext *avctx, |
|
|
|
|
|
|
|
|
if (avctx->qmin >= 0) |
|
|
if (avctx->qmin >= 0) |
|
|
enccfg.rc_min_quantizer = avctx->qmin; |
|
|
enccfg.rc_min_quantizer = avctx->qmin; |
|
|
if (avctx->qmax > 0) |
|
|
|
|
|
|
|
|
if (avctx->qmax >= 0) |
|
|
enccfg.rc_max_quantizer = avctx->qmax; |
|
|
enccfg.rc_max_quantizer = avctx->qmax; |
|
|
|
|
|
|
|
|
if (enccfg.rc_end_usage == VPX_CQ) { |
|
|
if (enccfg.rc_end_usage == VPX_CQ) { |
|
|