Commit 35bcfc54 authored by stefano's avatar stefano

Log input size, input format and swscale flags used for conversion in

config_props().

Useful for debugging.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23055 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 23dcf08f
......@@ -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;
......
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