Wake up main thread immediately after new frame is pushed
This commit is contained in:
parent
1f972b1828
commit
aab7191a44
5 changed files with 70 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue