diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-01 04:30:16 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-01 04:30:16 +0300 |
commit | 18802bc81ce8f6fe667f33e680990676a3407609 (patch) | |
tree | 9717b24feb92d53944073e683d5ef189ed1853cc /libavfilter/vf_idet.c | |
parent | 3eb5cbe0c50d0a0bbe10bcabbd6b16d73d93c128 (diff) |
avfilter/vf_idet: Use frame_requested instead of prev
This is more robust if the delay is not constant
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_idet.c')
-rw-r--r-- | libavfilter/vf_idet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c index 9a25042a89..7227a40d6f 100644 --- a/libavfilter/vf_idet.c +++ b/libavfilter/vf_idet.c @@ -285,7 +285,7 @@ static int request_frame(AVFilterLink *link) } else if (ret < 0) { return ret; } - } while (!idet->prev); + } while (link->frame_requested); return 0; } |