Bound thread count at 4 (same as max slices) and don't use HEVC with the software decoder due to lack of slicing support in common-c

This commit is contained in:
Cameron Gutman
2018-07-08 17:50:42 -07:00
parent 7023bcf504
commit d0375a458a
2 changed files with 9 additions and 3 deletions

View File

@@ -112,7 +112,11 @@ Session::Session(NvComputer* computer, NvApp& app)
{
case StreamingPreferences::VCC_AUTO:
// TODO: Determine if HEVC is better depending on the decoder
m_StreamConfig.supportsHevc = true;
// NOTE: HEVC currently uses only 1 slice regardless of what
// we provide in CAPABILITY_SLICES_PER_FRAME(), so we should
// never use it for software decoding (unless common-c starts
// respecting it for HEVC).
m_StreamConfig.supportsHevc = false;
m_StreamConfig.enableHdr = false;
break;
case StreamingPreferences::VCC_FORCE_H264: