mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-30 22:50:48 +00:00
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
This commit is contained in:
parent
447a5b1996
commit
38efdb2c6b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user