]> git.sesse.net Git - vlc/commitdiff
x264: set b_vfr_input to 0, as it seems to matter now
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 29 Mar 2010 12:22:55 +0000 (15:22 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 1 Apr 2010 11:29:13 +0000 (14:29 +0300)
I didn't observe any issues with 1.1 or 1.0.5 from file-input, but
lets just set it just in case when we have fps-value.

modules/codec/x264.c

index 8038c12e35a102592cc784a6ac914dafbbcedca1..ec79daee6dddfad19f0942676e2551b6722897ee 100644 (file)
@@ -1069,6 +1069,7 @@ static int  Open ( vlc_object_t *p_this )
     {
         p_sys->param.i_fps_num = p_enc->fmt_in.video.i_frame_rate;
         p_sys->param.i_fps_den = p_enc->fmt_in.video.i_frame_rate_base;
+        p_sys->param.b_vfr_input = 0;
     }
 
     /* Check slice-options */