diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-03-17 12:28:09 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-03-17 12:34:34 +0100 |
commit | d9f26a0d71e3f726cb7a764fa274aa84441a2ddb (patch) | |
tree | c61b00996a2ac0365a961a4aa620929f86611e48 /libavfilter/vf_crop.c | |
parent | e55ecbc93a213500ef8193043484f964b147fd71 (diff) | |
download | ffmpeg-d9f26a0d71e3f726cb7a764fa274aa84441a2ddb.tar.gz |
lavfi/crop: show input and output sample aspect ratio in the log
Diffstat (limited to 'libavfilter/vf_crop.c')
-rw-r--r-- | libavfilter/vf_crop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c index c8c4fb24ad..5015c74dc7 100644 --- a/libavfilter/vf_crop.c +++ b/libavfilter/vf_crop.c @@ -221,8 +221,9 @@ static int config_input(AVFilterLink *link) } else crop->out_sar = link->sample_aspect_ratio; - av_log(ctx, AV_LOG_INFO, "w:%d h:%d -> w:%d h:%d\n", - link->w, link->h, crop->w, crop->h); + av_log(ctx, AV_LOG_INFO, "w:%d h:%d sar:%d/%d -> w:%d h:%d sar:%d/%d\n", + link->w, link->h, link->sample_aspect_ratio.num, link->sample_aspect_ratio.den, + crop->w, crop->h, crop->out_sar.num, crop->out_sar.den); if (crop->w <= 0 || crop->h <= 0 || crop->w > link->w || crop->h > link->h) { |