diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/x264/gstx264enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c index 21693b8d..70b94a70 100644 --- a/ext/x264/gstx264enc.c +++ b/ext/x264/gstx264enc.c @@ -593,7 +593,9 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder) encoder->x264param.b_deblocking_filter = 1; encoder->x264param.i_deblocking_filter_alphac0 = 0; encoder->x264param.i_deblocking_filter_beta = 0; +#ifdef X264_RC_ABR encoder->x264param.rc.i_rc_method = X264_RC_ABR; +#endif encoder->x264param.rc.i_bitrate = encoder->bitrate; encoder->x264param.rc.i_vbv_max_bitrate = encoder->bitrate; encoder->x264param.rc.i_vbv_buffer_size |