[FFmpeg-devel] [PATCH 3/4] Show the input and flags parameters in config_props() as well the output ones.
Stefano Sabatini
stefano.sabatini-lala
Fri May 7 18:11:23 CEST 2010
Help debugging.
---
libavfilter/vf_scale.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 6c96301..4ba7e9f 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;
--
1.7.0
More information about the ffmpeg-devel
mailing list