[FFmpeg-cvslog] avfilter/vf_scale: dont duplicate default.

Michael Niedermayer git at videolan.org
Sun Oct 6 12:40:14 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct  6 12:33:32 2013 +0200| [3ee796760a8964e358925b04836f14c07a5cad52] | committer: Michael Niedermayer

avfilter/vf_scale: dont duplicate default.

use the defaults set by swscale

Suggested-by: stefano
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ee796760a8964e358925b04836f14c07a5cad52
---

 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 f808fcc..703b45b 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();



More information about the ffmpeg-cvslog mailing list