mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/359/head
parent
94af6414ab
commit
a501d55905
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue