diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2016-02-15 11:15:17 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2016-02-16 12:36:56 -0800 |
commit | d5348a66dc7dcc22d4e6b905caa7e92468f25b94 (patch) | |
tree | 6ef8beb28f367b8c6fa252966b02656d016a03b3 /common/global.h | |
parent | 01743f4ecd42b2974072d31604c2e91941488dd8 (diff) | |
download | mpv-d5348a66dc7dcc22d4e6b905caa7e92468f25b94.tar.bz2 mpv-d5348a66dc7dcc22d4e6b905caa7e92468f25b94.tar.xz |
dxva2: another attempt at using mp_image pool
Apparently, some drivers require you to allocate all of the decoder d3d surfaces
at once. This commit changes the strategy from allocating surfaces as needed via
mp_image_pool_set_allocator, to allocating all the surfaces in one call to
IDirectXVideoDecoderService_CreateSurface and adding them to the pool with
mp_image_pool_add.
fixes #2822
Diffstat (limited to 'common/global.h')
0 files changed, 0 insertions, 0 deletions