--- Suggestions for improving the log message welcome. Vittorio libavfilter/vf_fieldorder.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavfilter/vf_fieldorder.c b/libavfilter/vf_fieldorder.c index 19b07b1..326eb0a 100644 --- a/libavfilter/vf_fieldorder.c +++ b/libavfilter/vf_fieldorder.c @@ -101,8 +101,11 @@ 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_WARNING, + "Skipping progressve frame or same field ordering request.\n"); return ff_filter_frame(outlink, frame); + } av_dlog(ctx, "picture will move %s one line\n", -- 1.7.9.5 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel