]> git.sesse.net Git - vlc/commitdiff
x264: b_vfr_input came in X264_BUILD >= 81
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 6 Apr 2010 10:40:06 +0000 (13:40 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 6 Apr 2010 10:40:06 +0000 (13:40 +0300)
modules/codec/x264.c

index 1bc4214114db148fdf630ba91ba24e74c3a2cd08..42ee3c1f33aa6dcf4693dc0a1280a8437243c48d 100644 (file)
@@ -1069,7 +1069,9 @@ 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;
+#if X264_BUILD >= 81
         p_sys->param.b_vfr_input = 0;
+#endif
     }
 
     /* Check slice-options */