mirror of https://github.com/FFmpeg/FFmpeg.git
When making a new P-frame when B-frames are present the previous P-frame is normally in the DPB because it will be referred to by subsequent B-frames. However, this is not true if there are no B-frames, or in edge cases where a GOP ends with two P-frames. Fix this by adding the direct ref pics to the RPS explicitly. Fixes #7699. Tested-by: Ullysses A Eoff <ullysses.a.eoff@intel.com>pull/306/head
parent
d3a6943804
commit
44bcccb7f0
1 changed files with 13 additions and 4 deletions
Loading…
Reference in new issue