mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 22:23:31 +00:00
Use a better workaround for the GFE 3.20.3 high FPS bug
This commit is contained in:
@@ -164,9 +164,10 @@ NvHTTP::launchApp(int appId,
|
|||||||
"&mode="+QString::number(streamConfig->width)+"x"+
|
"&mode="+QString::number(streamConfig->width)+"x"+
|
||||||
QString::number(streamConfig->height)+"x"+
|
QString::number(streamConfig->height)+"x"+
|
||||||
// Using an FPS value over 60 causes SOPS to default to 720p60,
|
// Using an FPS value over 60 causes SOPS to default to 720p60,
|
||||||
// so force it to 60 when starting. This won't impact our ability
|
// so force it to 0 to ensure the correct resolution is set. We
|
||||||
// to get > 60 FPS while actually streaming though.
|
// used to use 60 here but that locked the frame rate to 60 FPS
|
||||||
QString::number(streamConfig->fps > 60 ? 60 : streamConfig->fps)+
|
// on GFE 3.20.3.
|
||||||
|
QString::number(streamConfig->fps > 60 ? 0 : streamConfig->fps)+
|
||||||
"&additionalStates=1&sops="+QString::number(sops ? 1 : 0)+
|
"&additionalStates=1&sops="+QString::number(sops ? 1 : 0)+
|
||||||
"&rikey="+QByteArray(streamConfig->remoteInputAesKey, sizeof(streamConfig->remoteInputAesKey)).toHex()+
|
"&rikey="+QByteArray(streamConfig->remoteInputAesKey, sizeof(streamConfig->remoteInputAesKey)).toHex()+
|
||||||
"&rikeyid="+QString::number(riKeyId)+
|
"&rikeyid="+QString::number(riKeyId)+
|
||||||
|
|||||||
Reference in New Issue
Block a user