From b4ee10f61635dba2db22ffe522608330495affff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 3 Nov 2014 08:12:44 +0100 Subject: [PATCH] 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, ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ --- gst-libs/gst/video/video-scaler.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/video/video-scaler.c b/gst-libs/gst/video/video-scaler.c index e87fe10..5891579 100644 --- a/gst-libs/gst/video/video-scaler.c +++ b/gst-libs/gst/video/video-scaler.c @@ -148,8 +148,9 @@ gst_video_scaler_new (GstVideoResamplerMethod method, GstVideoScalerFlags flags, 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) -- 2.7.4