Commit 3ee79676 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_scale: dont duplicate default.

use the defaults set by swscale

Suggested-by: stefano
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4634871b
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment