mirror of https://github.com/mpv-player/mpv
203be26588
This was broken for some time, and it didn't recover correctly. Redo decoder display preemption. Instead of trying to reinitialize the hw decoder, simply fallback to software decoding. I consider display preemption a bug in the vdpau API, so being able to _somehow_ recover playback is good enough. The approach taking here will probably also make it easier to handle multithreading. |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
lavc.h | ||
vaapi.c | ||
vd.h | ||
vd_lavc.c | ||
vda.c | ||
vdpau.c |