video-scaler.c:151:58: error: implicit conversion from enumeration type
'GstVideoScalerFlags' to different enumeration type
'GstVideoResamplerFlags' [-Werror,-Wenum-conversion]
gst_video_resampler_init (&scale->resampler, method, flags, out_size,
~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
gst_video_resampler_clear (&tresamp);
gst_video_resampler_clear (&bresamp);
} else {
- gst_video_resampler_init (&scale->resampler, method, flags, out_size,
- n_taps, 0.0, in_size, out_size, options);
+ gst_video_resampler_init (&scale->resampler, method,
+ GST_VIDEO_RESAMPLER_FLAG_NONE, out_size, n_taps, 0.0, in_size, out_size,
+ options);
}
if (out_size == 1)