diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-10-22 07:21:18 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-10-22 10:58:25 +0200 |
commit | 00d7369de06a16f7c8770a899fcb16bcb94b1e20 (patch) | |
tree | 8a4146ba8dd99026086e6623b238db49660e47f7 /libavfilter | |
parent | 103d073dd7ce23b912df32be8c9524ba25dd5991 (diff) | |
download | ffmpeg-00d7369de06a16f7c8770a899fcb16bcb94b1e20.tar.gz |
vf_fieldorder: log when processing is skipped
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_fieldorder.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavfilter/vf_fieldorder.c b/libavfilter/vf_fieldorder.c index 19b07b11e8..852c871732 100644 --- a/libavfilter/vf_fieldorder.c +++ b/libavfilter/vf_fieldorder.c @@ -101,8 +101,13 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) uint8_t *data; if (!frame->interlaced_frame || - frame->top_field_first == s->dst_tff) + frame->top_field_first == s->dst_tff) { + av_log(ctx, AV_LOG_VERBOSE, + "Skipping %s.\n", + frame->interlaced_frame ? + "frame with same field order" : "progressive frame"); return ff_filter_frame(outlink, frame); + } av_dlog(ctx, "picture will move %s one line\n", |