ffmpeg: better CFR frame duplication selection
[ffmpeg.git] / ffmpeg.h
index c456603..1ace8be 100644 (file)
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -388,6 +388,8 @@ typedef struct OutputStream {
     AVCodec *enc;
     int64_t max_frames;
     AVFrame *filtered_frame;
     AVCodec *enc;
     int64_t max_frames;
     AVFrame *filtered_frame;
+    AVFrame *last_frame;
+    int last_droped;
 
     /* video only */
     AVRational frame_rate;
 
     /* video only */
     AVRational frame_rate;