mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
video-scaler: Fix compiler warning
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, ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
This commit is contained in:
parent
7ca8e6e71d
commit
b4ee10f616
1 changed files with 3 additions and 2 deletions
|
@ -148,8 +148,9 @@ gst_video_scaler_new (GstVideoResamplerMethod method, GstVideoScalerFlags flags,
|
||||||
gst_video_resampler_clear (&tresamp);
|
gst_video_resampler_clear (&tresamp);
|
||||||
gst_video_resampler_clear (&bresamp);
|
gst_video_resampler_clear (&bresamp);
|
||||||
} else {
|
} else {
|
||||||
gst_video_resampler_init (&scale->resampler, method, flags, out_size,
|
gst_video_resampler_init (&scale->resampler, method,
|
||||||
n_taps, 0.0, in_size, out_size, options);
|
GST_VIDEO_RESAMPLER_FLAG_NONE, out_size, n_taps, 0.0, in_size, out_size,
|
||||||
|
options);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (out_size == 1)
|
if (out_size == 1)
|
||||||
|
|
Loading…
Reference in a new issue