summaryrefslogtreecommitdiffstats
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-19 12:41:16 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-04-03 19:09:31 +0200
commit98c7729c133e801889adc3f6527ff271b2df73b5 (patch)
tree33b1963b243b0c65babee41711e5f1df5d814739 /ffmpeg.h
parentaf5fec9538d88540af5bb2dd0e4b91162ce6fa13 (diff)
downloadffmpeg-streaming-98c7729c133e801889adc3f6527ff271b2df73b5.zip
ffmpeg-streaming-98c7729c133e801889adc3f6527ff271b2df73b5.tar.gz
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 7c0c22c..9050202 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;
OpenPOWER on IntegriCloud