aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-05-07 22:12:10 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-05-07 22:12:10 +0000
commit38efdb2c6badfbf0d1b415bf9c6a1920c2e446de (patch)
treed31a572deea0bb4dcd5843436dc5e2a53ce2140e /libavfilter
parent447a5b1996805e9e91acc5cb459ea1a047db12a1 (diff)
downloadffmpeg-38efdb2c6badfbf0d1b415bf9c6a1920c2e446de.tar.gz
Log input size, input format and swscale flags used for conversion in
config_props(). Useful for debugging. Originally committed as revision 23055 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_scale.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 6c9630159d..4ba7e9f6b7 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -132,8 +132,10 @@ static int config_props(AVFilterLink *outlink)
outlink->w, outlink->h, outlink->format,
scale->flags, NULL, NULL, NULL);
- av_log(ctx, AV_LOG_INFO, "w:%d h:%d fmt:%s\n",
- outlink->w, outlink->h, av_pix_fmt_descriptors[outlink->format].name);
+ av_log(ctx, AV_LOG_INFO, "w:%d h:%d fmt:%s -> w:%d h:%d fmt:%s flags:%0x\n",
+ inlink ->w, inlink ->h, av_pix_fmt_descriptors[ inlink->format].name,
+ outlink->w, outlink->h, av_pix_fmt_descriptors[outlink->format].name,
+ scale->flags);
scale->input_is_pal = av_pix_fmt_descriptors[inlink->format].flags & PIX_FMT_PAL;