mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
Add the config hack to make 1080p30 work with the CPU decoder
This commit is contained in:
parent
3408e467d5
commit
7947d8b75d
@ -88,8 +88,12 @@ public class Config {
|
|||||||
{
|
{
|
||||||
new IntConfigTuple((short)0x120b, 10), //averageBitrate
|
new IntConfigTuple((short)0x120b, 10), //averageBitrate
|
||||||
new IntConfigTuple((short)0x120c, 10), //peakBitrate
|
new IntConfigTuple((short)0x120c, 10), //peakBitrate
|
||||||
new IntConfigTuple((short)0x121c, 4000), //videoQoSBwMinimumBitrate
|
|
||||||
new IntConfigTuple((short)0x1245, 3000),
|
// HACK: Streaming 1080p30 without these options causes the encoder
|
||||||
|
// to step down to 720p which breaks the CPU decoder
|
||||||
|
new IntConfigTuple((short)0x121b, 25000), //videoQoSBwMaximumBitrate
|
||||||
|
new IntConfigTuple((short)0x121c, 25000), //videoQoSBwMinimumBitrate
|
||||||
|
|
||||||
new IntConfigTuple((short)0x1246, 1280),
|
new IntConfigTuple((short)0x1246, 1280),
|
||||||
new IntConfigTuple((short)0x1247, 720),
|
new IntConfigTuple((short)0x1247, 720),
|
||||||
/*new IntConfigTuple((short)0x124a, 5000),
|
/*new IntConfigTuple((short)0x124a, 5000),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user