[FFmpeg-devel] [PATCH] vaapi_encode_h265: Ensure that ref pics are always in the RPS

Mark Thompson sw at jkqxz.net
Mon Jan 28 00:50:23 EET 2019


On 25/01/2019 20:40, Eoff, Ullysses A wrote:
>> -----Original Message-----
>> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Mark Thompson
>> Sent: Friday, January 25, 2019 12:05 PM
>> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
>> Subject: [FFmpeg-devel] [PATCH] vaapi_encode_h265: Ensure that ref pics are always in the RPS
>>
>> 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.
> 
> This patch fixes #7699 for me.  Thanks! :)

Applied.  Thank you for the report, and for testing!

- Mark


More information about the ffmpeg-devel mailing list