Commit 3cad191c authored by Ilkka Ollakka's avatar Ilkka Ollakka

x264: Define timebase

parent 5785e63a
...@@ -1232,7 +1232,9 @@ static int Open ( vlc_object_t *p_this ) ...@@ -1232,7 +1232,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_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.i_fps_den = p_enc->fmt_in.video.i_frame_rate_base;
p_sys->param.b_vfr_input = 0; p_sys->param.i_timebase_num = 1;
p_sys->param.i_timebase_den = INT64_C(1000000);
p_sys->param.b_vfr_input = 1;
} }
/* Check slice-options */ /* 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