mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Wake up main thread immediately after new frame is pushed
This commit is contained in:
1 parent
1f972b1828
commit
aab7191a44
5 files changed
+70
-11
No files matched your search
@@ -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