mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Fix accidental removal of decoder deletion in previous commit
This commit is contained in:
@@ -270,6 +270,8 @@ int Session::getDecoderCapabilities(StreamingPreferences::VideoDecoderSelection
|
|||||||
|
|
||||||
int caps = decoder->getDecoderCapabilities();
|
int caps = decoder->getDecoderCapabilities();
|
||||||
|
|
||||||
|
delete decoder;
|
||||||
|
|
||||||
// This must be called after the decoder is deleted, because
|
// This must be called after the decoder is deleted, because
|
||||||
// the renderer may want to interact with the window
|
// the renderer may want to interact with the window
|
||||||
SDL_DestroyWindow(window);
|
SDL_DestroyWindow(window);
|
||||||
|
|||||||
Reference in New Issue
Block a user