Skip to content
Snippets Groups Projects
Commit 2fcef90b authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Anton Khirnov
Browse files

dxva2_h264: set the correct ref frame index in the long slice struct


The latest H.264 DXVA specification states that the index in this
structure should refer to a valid entry in the RefFrameList of the picture
parameter structure, and not to the actual surface index.

Fixes H.264 DXVA2 decoding on recent Intel GPUs (tested on Sandy and Ivy)

Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 1eb57e1d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment