From 3ee796760a8964e358925b04836f14c07a5cad52 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 6 Oct 2013 12:33:32 +0200 Subject: [PATCH] avfilter/vf_scale: dont duplicate default. use the defaults set by swscale Suggested-by: stefano Signed-off-by: Michael Niedermayer --- libavfilter/vf_scale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index f808fcc7e7..703b45ba1a 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -140,7 +140,7 @@ static av_cold int init_dict(AVFilterContext *ctx, AVDictionary **opts) av_log(ctx, AV_LOG_VERBOSE, "w:%s h:%s flags:'%s' interl:%d\n", scale->w_expr, scale->h_expr, (char *)av_x_if_null(scale->flags_str, ""), scale->interlaced); - scale->flags = SWS_BICUBIC; + scale->flags = 0; if (scale->flags_str) { const AVClass *class = sws_get_class(); -- 2.11.0