summaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-19 03:10:12 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-19 05:14:32 +0100
commit9f6d48d696d679de77e8cb513d5f64cd708ed86f (patch)
tree626e12ae141621bf61d3ec435e4c77d0897a1301 /ffmpeg.h
parent8b43b0e8b6c7672e0494d45aa5912f7359d26e83 (diff)
downloadffmpeg-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index c45660309e..1ace8be71f 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -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;