mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-06-17 22:32:06 +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:
+1
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user