diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-05-28 16:51:57 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-06-05 16:15:04 +0200 |
commit | ba1141d8a9a50f66b7cdc62bec59a536f6ece568 (patch) | |
tree | a8e499d895a65d775c0994f0ec3a4e6609c61073 /fftools/ffmpeg.h | |
parent | 09af34dc919236916d71b9f0f1997f9aff4e4048 (diff) | |
download | ffmpeg-ba1141d8a9a50f66b7cdc62bec59a536f6ece568.tar.gz |
fftools/ffmpeg_enc: move nb_frames{dup,drop} globals into OutputStream
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 966397270d..cef4b5d000 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -553,6 +553,9 @@ typedef struct OutputStream { Encoder *enc; AVCodecContext *enc_ctx; AVPacket *pkt; + + uint64_t nb_frames_dup; + uint64_t nb_frames_drop; int64_t last_dropped; /* video only */ @@ -707,9 +710,6 @@ extern int recast_media; extern FILE *vstats_file; -extern int64_t nb_frames_dup; -extern int64_t nb_frames_drop; - #if FFMPEG_OPT_PSNR extern int do_psnr; #endif |