direct3d11: bring back the 128 pixels padding required by the DXVA HEVC decoder
commite669140daaec8b4bc262013afd111864fbbf9a18
authorSteve Lhomme <robUx4@videolabs.io>
Thu, 14 Dec 2017 13:40:56 +0000 (14 14:40 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 17 Dec 2017 22:22:05 +0000 (17 23:22 +0100)
treecebd236a17c7b7604954b45e161f619754943f7c
parent117658e75806a47ed7e333818c259a6c0f71bb9f
direct3d11: bring back the 128 pixels padding required by the DXVA HEVC decoder

Since the vout doesn't know in advance what alignment the decoder will need we use
the maximum.

This is needed in light of the previous bug fixed where the decoder accepts
texture with the wrong alignment but uses them as if the alignment was correct.
So we always need to make sure the alignment is correct.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/win32/direct3d11.c