diff options
author | Calvin Walton <calvin.walton@kepstin.ca> | 2018-02-22 14:10:03 -0500 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2018-03-08 11:23:34 +0100 |
commit | e4edc567a077d34f579d31ef0bfe164c7abfac4c (patch) | |
tree | 2e4ae907ddf9ef4ed40c98dbcceeef2d3f305c78 /libswscale/x86/hscale_fast_bilinear_simd.c | |
parent | 2f147588f7beac9c85df81f331ce38626def20d7 (diff) | |
download | ffmpeg-e4edc567a077d34f579d31ef0bfe164c7abfac4c.tar.gz |
libavfilter/vf_fps: Rewrite using activate callback
The old version of the filter had a problem where it would queue up
all of the duplicate frames required to fill a timestamp gap in a
single call to filter_frame. In problematic files - I've hit this in
webcam streams with large gaps due to network issues - this will queue
up a potentially huge number of frames. (I've seen it trigger the Linux
OOM-killer on particularly large pts gaps.)
This revised version of the filter using the activate callback will
generate at most 1 frame each time it is called.
Diffstat (limited to 'libswscale/x86/hscale_fast_bilinear_simd.c')
0 files changed, 0 insertions, 0 deletions