static const char *const direct_pred_list_text[] =
{ N_("None"), N_("Spatial"), N_("Temporal"), N_("Auto") };
-static const int const framepacking_list[] =
+static const int framepacking_list[] =
{ -1, 0, 1, 2, 3, 4, 5 };
static const char *const framepacking_list_text[] =
{ "", N_("checkerboard"), N_("column alternation"), N_("row alternation"), N_("side by side"), N_("top bottom"), N_("frame alternation") };
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_timebase_num = 1;
- p_sys->param.i_timebase_den = INT64_C(1000000);
+ p_sys->param.i_timebase_den = CLOCK_FREQ;
p_sys->param.b_vfr_input = 0;
}
i_level = VLC_MSG_INFO;
break;
case X264_LOG_DEBUG:
- i_level = VLC_MSG_DBG;
default:
i_level = VLC_MSG_DBG;
}
p_block->i_flags |= BLOCK_FLAG_TYPE_PB;
/* This isn't really valid for streams with B-frames */
- p_block->i_length = INT64_C(1000000) *
+ p_block->i_length = CLOCK_FREQ *
p_enc->fmt_in.video.i_frame_rate_base /
p_enc->fmt_in.video.i_frame_rate;