mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-16 21:40:00 +00:00
Clear framebuffer for both amlogic and pi
This commit is contained in:
@@ -109,6 +109,8 @@ static void stream(PSERVER_DATA server, PCONFIGURATION config, enum platform sys
|
||||
drFlags |= FORCE_HARDWARE_ACCELERATION;
|
||||
|
||||
printf("Stream %d x %d, %d fps, %d kbps\n", config->stream.width, config->stream.height, config->stream.fps, config->stream.bitrate);
|
||||
|
||||
platform_start(system);
|
||||
LiStartConnection(&server->serverInfo, &config->stream, &connection_callbacks, platform_get_video(system), platform_get_audio(system), NULL, drFlags);
|
||||
|
||||
if (IS_EMBEDDED(system)) {
|
||||
@@ -122,6 +124,7 @@ static void stream(PSERVER_DATA server, PCONFIGURATION config, enum platform sys
|
||||
#endif
|
||||
|
||||
LiStopConnection();
|
||||
platform_stop(system);
|
||||
}
|
||||
|
||||
static void help() {
|
||||
|
||||
Reference in New Issue
Block a user