#include <type_traits>
#include "flags.h"
-#include "metrics.h"
+#include "shared/metrics.h"
using namespace std;
using namespace std::chrono;
#define SC_PRESETS 23
X264SpeedControl::X264SpeedControl(x264_t *x264, float f_speed, int i_buffer_size, float f_buffer_init)
- : dyn(load_x264_for_bit_depth(global_flags.x264_bit_depth)),
+ : dyn(load_x264_for_bit_depth(global_flags.bit_depth)),
x264(x264), f_speed(f_speed)
{
x264_param_t param;