Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-19 05:10:12 +0300
committerMichael Niedermayer <michaelni@gmx.at>2014-11-19 07:14:32 +0300
commit9f6d48d696d679de77e8cb513d5f64cd708ed86f (patch)
tree626e12ae141621bf61d3ec435e4c77d0897a1301 /ffmpeg.h
parent8b43b0e8b6c7672e0494d45aa5912f7359d26e83 (diff)
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;