mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Wake up main thread immediately after new frame is pushed
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <Limelight.h>
|
||||
#include <SDL.h>
|
||||
#include "settings/streamingpreferences.h"
|
||||
#include "streaming/sdlhelper.h"
|
||||
|
||||
#define SDL_CODE_FRAME_READY 0
|
||||
|
||||
@@ -53,6 +54,6 @@ public:
|
||||
event.user.data1 = data1;
|
||||
event.user.data2 = data2;
|
||||
|
||||
SDL_PushEvent(&event);
|
||||
SDLHelper::pushEvent(&event);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user