mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-09 17:36:11 +00:00
Default to 60 FPS at all resolutions
The time of most hardware maxing at 1080p30 has long since passed.
This commit is contained in:
@@ -316,7 +316,7 @@ void config_parse(int argc, char* argv[], PCONFIGURATION config) {
|
||||
|
||||
config->stream.width = 1280;
|
||||
config->stream.height = 720;
|
||||
config->stream.fps = -1;
|
||||
config->stream.fps = 60;
|
||||
config->stream.bitrate = -1;
|
||||
config->stream.packetSize = 1024;
|
||||
config->stream.streamingRemotely = 0;
|
||||
@@ -374,9 +374,6 @@ void config_parse(int argc, char* argv[], PCONFIGURATION config) {
|
||||
sprintf(config->key_dir, "%s" DEFAULT_CACHE_DIR MOONLIGHT_PATH, pw->pw_dir);
|
||||
}
|
||||
|
||||
if (config->stream.fps == -1)
|
||||
config->stream.fps = config->stream.height >= 1080 ? 30 : 60;
|
||||
|
||||
if (config->stream.bitrate == -1) {
|
||||
if (config->stream.height >= 1080 && config->stream.fps >= 60)
|
||||
config->stream.bitrate = 20000;
|
||||
|
||||
Reference in New Issue
Block a user