]> 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)
committerwm4 <nfxjfg@googlemail.com>
Tue, 27 Jun 2017 16:05:02 +0000 (18:05 +0200)
commit5659f7404731415c7e1cfdf4d8b0afeb6b1132de
tree6bbee7408b14f925736887c5f16c96c0feae4a7e
parentab28108a361196134704071b7b34c42fc7d747c7
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.

Merges Libav commit 831cfe10b40414915fe7b6088158421fe02e2b2d.

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