diff options
author | stuhlo <stuhlo@gmail.com> | 2021-06-11 12:27:30 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2021-06-11 16:50:53 +0200 |
commit | a501d559050f395f22153a7954b193feb18325e4 (patch) | |
tree | 05524b177f867112d67652bd0d18f31ee0551a33 /doc/Makefile | |
parent | 94af6414ab74b9785bee89bd0a167c4788d6b598 (diff) | |
download | ffmpeg-a501d559050f395f22153a7954b193feb18325e4.tar.gz |
avcodec/cuviddec: correctly set key_frame with interlaced content
Fixes #9283
This fixes setting of 'key_frame' flag in AVFrame when input h264 packets represents individual fields of interlaced video.
In this case, pairs of two consecutive fields represents a single decoded picture and have identical 'CurrPicIdx', however, only
the first field is entirely intra-coded and has the flag 'intra_pic_flag' set and the second field was resetting the flag before
it was even read in the function 'cuvid_output_frame'.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'doc/Makefile')
0 files changed, 0 insertions, 0 deletions