x264enc: If FPS is available, set VFR to false
authorMichael Esemplare <michael.esemplare@gmail.com>
Fri, 27 Sep 2013 15:05:25 +0000 (08:05 -0700)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 4 Oct 2013 10:07:31 +0000 (12:07 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=708940

ext/x264/gstx264enc.c

index 27b9bade057dcd75dd9ba368dc11a4c01b785c67..5fc5e1217305774fba80123a82268a6fe23e536e 100644 (file)
@@ -1360,6 +1360,7 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
     }
   } else {
     /* FPS available so set it up */
+    encoder->x264param.b_vfr_input = FALSE;
     encoder->x264param.i_fps_num = info->fps_n;
     encoder->x264param.i_fps_den = info->fps_d;
     encoder->x264param.i_keyint_max =