Fix accidental removal of decoder deletion in previous commit
This commit is contained in:
parent
cb5e58d465
commit
e1fab22d98
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue