mirror of
https://github.com/mpv-player/mpv
synced 2024-10-30 04:46:41 +01:00
de6d3f8ca1
Apparently this was broken by the "ctx->hwdec" check in the if condition guarding the destroy call, and "ctx->hwdec = NULL;" was moved up earlier, making this always dead code. This should probably be refcounted or so, although that could make it worse as well. For now, add a flag whether the device should be destroyed. Fixes #4735. |
||
---|---|---|
.. | ||
d3d.c | ||
d3d.h | ||
dec_video.c | ||
dec_video.h | ||
hw_cuda.c | ||
hw_d3d11va.c | ||
hw_dxva2.c | ||
hw_videotoolbox.c | ||
lavc.h | ||
vd_lavc.c | ||
vd.h |