diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-19 03:10:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-19 05:14:32 +0100 |
commit | 9f6d48d696d679de77e8cb513d5f64cd708ed86f (patch) | |
tree | 626e12ae141621bf61d3ec435e4c77d0897a1301 /ffmpeg.h | |
parent | 8b43b0e8b6c7672e0494d45aa5912f7359d26e83 (diff) | |
download | ffmpeg-9f6d48d696d679de77e8cb513d5f64cd708ed86f.tar.gz |
ffmpeg: better CFR frame duplication selection
This improves the handling of cases where the frame duration is not known
Fixes Ticket 4119
Fixes Ticket 1578
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -388,6 +388,8 @@ typedef struct OutputStream { AVCodec *enc; int64_t max_frames; AVFrame *filtered_frame; + AVFrame *last_frame; + int last_droped; /* video only */ AVRational frame_rate; |