mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-18 14:54:19 +08:00
Merge commit '66a68ddd1ac376b24db8695058bc8fc28f5bada6'
* commit '66a68ddd1ac376b24db8695058bc8fc28f5bada6': lavc: make rc_buffer_aggressivity/rc_initial_cplx into private options of mpegvideo encoders Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -958,6 +958,10 @@ av_cold int ff_mpv_encode_init(AVCodecContext *avctx)
|
||||
s->rc_qmod_amp = avctx->rc_qmod_amp;
|
||||
if (avctx->rc_qmod_freq)
|
||||
s->rc_qmod_freq = avctx->rc_qmod_freq;
|
||||
if (avctx->rc_buffer_aggressivity != 1.0)
|
||||
s->rc_buffer_aggressivity = avctx->rc_buffer_aggressivity;
|
||||
if (avctx->rc_initial_cplx != 0.0)
|
||||
s->rc_initial_cplx = avctx->rc_initial_cplx;
|
||||
|
||||
if (avctx->rc_eq) {
|
||||
av_freep(&s->rc_eq);
|
||||
|
Reference in New Issue
Block a user