]> git.sesse.net Git - nageru/commitdiff
Fix a typo.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 26 Apr 2016 19:37:57 +0000 (21:37 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 26 Apr 2016 19:37:57 +0000 (21:37 +0200)
x264_encoder.cpp

index de7193c243ba32d4795b1f5945b08fabaeae656b..df9e9945e789370e639c8bdacc9c3d798c524900 100644 (file)
@@ -78,7 +78,7 @@ void X264Encoder::init_x264()
 
 
        param.rc.i_rc_method = X264_RC_ABR;
-       param.rc.i_bitrate = global_flags.x264_vbv_max_bitrate;
+       param.rc.i_bitrate = global_flags.x264_bitrate;
        if (global_flags.x264_vbv_buffer_size < 0) {
                param.rc.i_vbv_buffer_size = param.rc.i_bitrate;  // One-second VBV.
        } else {