Commit 5461234e authored by Jean-Paul Saman's avatar Jean-Paul Saman

x264: build fix for params.b_vfr_input

The param option b_vfr_input is only available in x264 >= 81.
parent b2853e9f
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment