]> git.sesse.net Git - ffmpeg/commit
dxva: move d3d11 locking/unlocking to functions
authorwm4 <nfxjfg@googlemail.com>
Tue, 6 Jun 2017 16:51:10 +0000 (18:51 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 8 Jun 2017 18:55:57 +0000 (20:55 +0200)
commit831cfe10b40414915fe7b6088158421fe02e2b2d
treec794bb8f78e620b9467033a5778c45d5387003e4
parent4dec101acc393fbfe9a8ce0237b9efbae3f20139
dxva: move d3d11 locking/unlocking to functions

I want to make it non-mandatory to set a mutex in the D3D11 device
context, and replacing it with user callbacks seems like the best
solution. This is preparation for it. Also makes the code slightly more
readable.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/dxva2.c