1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/video/out/d3d11
James Ross-Gowan a9a4d6349a vo_gpu: d3d11: check for NULL backbuffer in start_frame
In a lost device scenario, resize() will fail and p->backbuffer will be
NULL. We can't recover from lost devices yet, but we should still check
for a NULL backbuffer in start_frame() rather than crashing.

Also remove a NULL check for p->swapchain. This was a red herring, since
p->swapchain never becomes NULL in an error condition, but p->backbuffer
actually does.

This should fix the crash in #5320, but it doesn't fix the underlying
reason for the lost device (which is probably a driver bug.)
2018-01-04 23:05:10 +11:00
..
context.c vo_gpu: d3d11: check for NULL backbuffer in start_frame 2018-01-04 23:05:10 +11:00
hwdec_d3d11va.c video: remove some more hwdec legacy stuff 2017-12-02 04:53:55 +01:00
ra_d3d11.c vo_gpu: d3d11: avoid copying staging buffers to cbuffers 2018-01-01 20:31:45 +11:00
ra_d3d11.h vo_gpu: hwdec_d3d11va: allow zero-copy video decoding 2017-11-07 20:27:13 +11:00