mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Flushing the decoder seems to hang when the software fallback is in use, so let the destructor abort callbacks instead
This commit is contained in:
parent
6c13c9b67d
commit
69ba5a709b
@ -178,8 +178,7 @@ void MoonlightInstance::DispatchGetPicture(uint32_t unused) {
|
|||||||
void MoonlightInstance::VidDecCleanup(void) {
|
void MoonlightInstance::VidDecCleanup(void) {
|
||||||
free(s_DecodeBuffer);
|
free(s_DecodeBuffer);
|
||||||
|
|
||||||
// Flush and delete the decoder
|
// Delete the decoder
|
||||||
g_Instance->m_VideoDecoder->Flush(pp::BlockUntilComplete());
|
|
||||||
delete g_Instance->m_VideoDecoder;
|
delete g_Instance->m_VideoDecoder;
|
||||||
|
|
||||||
// Delete shader programs
|
// Delete shader programs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user