From 7947d8b75da22faf877b39cee0e3acb291ba1636 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 28 Feb 2014 13:38:53 -0500 Subject: [PATCH] Add the config hack to make 1080p30 work with the CPU decoder --- .../src/com/limelight/nvstream/control/Config.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/moonlight-common/src/com/limelight/nvstream/control/Config.java b/moonlight-common/src/com/limelight/nvstream/control/Config.java index d975a44d..3339125a 100644 --- a/moonlight-common/src/com/limelight/nvstream/control/Config.java +++ b/moonlight-common/src/com/limelight/nvstream/control/Config.java @@ -88,8 +88,12 @@ public class Config { { new IntConfigTuple((short)0x120b, 10), //averageBitrate 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)0x1247, 720), /*new IntConfigTuple((short)0x124a, 5000),