summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_idet.h
diff options
context:
space:
mode:
authorNeil Birkbeck <neil.birkbeck@gmail.com>2014-10-21 23:40:06 -0700
committerMichael Niedermayer <michaelni@gmx.at>2014-10-22 15:07:36 +0200
commitad5c43bb36b0d3615bb5f9c8ebf626038abb384a (patch)
tree4ee804b142d9291dbe942ece286d772fdbaca07d /libavfilter/vf_idet.h
parenta39201818feab04c029f5b17bad2e7f40c1f2eab (diff)
downloadffmpeg-streaming-ad5c43bb36b0d3615bb5f9c8ebf626038abb384a.zip
ffmpeg-streaming-ad5c43bb36b0d3615bb5f9c8ebf626038abb384a.tar.gz
avfilter/vf_idet: Fixes issue with idet not flushing last frame.
Uses a similar approach as vf_yadif to flush the last frame in idet. Quick test with 50 frames from vsynth1: ./ffmpeg.old -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1 | grep Multi (gives) [Parsed_idet_0 @ 0x261ebb0] Multi frame detection: TFF:0 BFF:0 Progressive:48 Undetermined:1 ./ffmpeg -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1 | grep Multi (gives) [Parsed_idet_0 @ 0x35a0bb0] Multi frame detection: TFF:0 BFF:0 Progressive:49 Undetermined:1 Fate tests have been updated. (In testing, it seems this filter will also need a subsequent patch for single frame input) Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_idet.h')
-rw-r--r--libavfilter/vf_idet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_idet.h b/libavfilter/vf_idet.h
index ef29fff..57332df 100644
--- a/libavfilter/vf_idet.h
+++ b/libavfilter/vf_idet.h
@@ -50,6 +50,7 @@ typedef struct {
ff_idet_filter_func filter_line;
const AVPixFmtDescriptor *csp;
+ int eof;
} IDETContext;
void ff_idet_init_x86(IDETContext *idet, int for_16b);
OpenPOWER on IntegriCloud