diff options
author | Marton Balint <cus@passwd.hu> | 2017-12-19 23:49:41 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-01-12 23:40:41 +0100 |
commit | 0c31a3876d9a522add43ab62a9bcd3d857b28436 (patch) | |
tree | 1284ebd9d6f917baaa065120c8ee2d88d2b7f5d2 /tests/.gitignore | |
parent | 860d991fcd715233b5b9eb1f6c7bf0aadefb6061 (diff) | |
download | ffmpeg-0c31a3876d9a522add43ab62a9bcd3d857b28436.tar.gz |
avfilter/vf_framerate: simplify filter
The framerate filter was quite convoluted with some filter_frame /
request_frame logic bugs. It seemed easier to rewrite the whole filter_frame /
request_frame part and also the frame interpolation ratio calculation part in
one step.
Notable changes:
- The filter now only stores 2 frames instead of 3
- filter_frame outputs all the frames it can to be able to handle consecutive
filter_frame calls which previously caused early drops of buffered frames.
- because of this, request_frame is largely simplified and it only outputs
frames on flush. Previously consecuitve request_frame calls could cause the
filter to think it is in flush mode filling its buffer with the same frames
causing a "ghost" effect on the output.
- PTS discontinuities are handled better
- frames with unknown PTS values are now dropped
Fixes ticket #4870.
Probably fixes ticket #5493.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'tests/.gitignore')
0 files changed, 0 insertions, 0 deletions