diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-11-17 14:35:36 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-11-28 10:28:14 +0100 |
commit | 2fa2e146ccf589aebb5865e5c1713a4ddef73345 (patch) | |
tree | f75fa7eb6a9d0a8b1dd1aaf4c1d695df8f918a40 /fftools/ffmpeg.h | |
parent | 334e52e09441213c9c391d7c0f5d0126eaa98396 (diff) | |
download | ffmpeg-2fa2e146ccf589aebb5865e5c1713a4ddef73345.tar.gz |
fftools/ffmpeg: avoid storing full forced keyframe spec
It is not needed after the spec is parsed. Also avoids ugly string
comparisons for each video frame.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index bf2abf55ee..5527dbe49b 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -487,8 +487,13 @@ typedef enum { MUXER_FINISHED = 2, } OSTFinished ; +enum { + KF_FORCE_SOURCE = 1, + KF_FORCE_SOURCE_NO_DROP = 2, +}; + typedef struct KeyframeForceCtx { - char *forced_keyframes; + int type; int64_t ref_pts; |