mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 10:20:46 +00:00
fix(nvenc): Include bitstream restrictions in H.264/HEVC SPS (#4556)
This commit is contained in:
@@ -304,6 +304,9 @@ namespace nvenc {
|
||||
vui_config.chromaSampleLocationFlag = buffer_is_yuv444() ? 0 : 1;
|
||||
vui_config.chromaSampleLocationTop = 0;
|
||||
vui_config.chromaSampleLocationBot = 0;
|
||||
|
||||
// This is critical for low decoding latency on certain devices
|
||||
vui_config.bitstreamRestrictionFlag = 1;
|
||||
};
|
||||
|
||||
switch (client_config.videoFormat) {
|
||||
|
||||
Reference in New Issue
Block a user