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 14:41:16 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-04-03 20:09:31 +0300
commit98c7729c133e801889adc3f6527ff271b2df73b5 (patch)
tree33b1963b243b0c65babee41711e5f1df5d814739 /ffmpeg.h
parentaf5fec9538d88540af5bb2dd0e4b91162ce6fa13 (diff)
ffmpeg: last frame duplication heuristic
This improves the last frames duration with CFR and when the input durations are inaccurate or missing Fixes Ticket4119 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 7c0c22cfad..9050202318 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -394,6 +394,7 @@ typedef struct OutputStream {
AVFrame *filtered_frame;
AVFrame *last_frame;
int last_droped;
+ int last_nb0_frames[3];
/* video only */
AVRational frame_rate;