]> git.sesse.net Git - ffmpeg/commit
dxva2: get the slice number directly from the surface in D3D11VA
authorSteve Lhomme <robux4@gmail.com>
Wed, 4 Jan 2017 12:44:12 +0000 (13:44 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 12 Jan 2017 15:09:41 +0000 (16:09 +0100)
commitf67235a28cef44fcd97ae74ad53bbbc0d7f63d60
tree4591a30bcbc5bc77f652e34560a95cdce319c005
parent122de16dd8108a59a55d30543c9f28b5f61b02d1
dxva2: get the slice number directly from the surface in D3D11VA

No need to loop through the known surfaces, we'll use the requested surface
anyway.

The loop is only done for DXVA2.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/dxva2.c