d3d11va: fix Xbox limitation test
commitb2ad163c9f3b71127c337f66d8033afc3494203e
authorSteve Lhomme <robUx4@videolabs.io>
Fri, 28 Jul 2017 11:37:33 +0000 (28 13:37 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 4 Aug 2017 08:16:15 +0000 (4 10:16 +0200)
tree74a790d9f630b815c5a593901864de9c192992ac
parentd8519941343e02688431fb296e1bfe0843e7e3ef
d3d11va: fix Xbox limitation test

The va_pool surface dimensions are only set if the surfaces are created
successfully. We must use the temporary video_format_t dimensions at this stage.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/avcodec/d3d11va.c