diff options
author | James Almer <jamrial@gmail.com> | 2022-02-15 09:44:21 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-02-28 12:11:24 -0300 |
commit | d75e7a9a83b2774900bcb5c58236c108d11af041 (patch) | |
tree | 02f12f0864eeb70be4615a700e5b554aeed34577 /fftools/ffmpeg.h | |
parent | afe485ee6b3bbcd4b0e106eb9fc4dcf4846db1b8 (diff) | |
download | ffmpeg-d75e7a9a83b2774900bcb5c58236c108d11af041.tar.gz |
ffmpeg: ensure a keyframe was not seen before skipping packets
A keyframe could be buffered in the bsf and not be output until more packets
had been fed to it.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 1b8bbace3f..cc8f767e5d 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -535,6 +535,7 @@ typedef struct OutputStream { int inputs_done; const char *attachment_filename; + int seen_kf; int copy_initial_nonkeyframes; int copy_prior_start; char *disposition; |