Increasing max video cache frames, moving percentage-ahead caching to a setting, fixing a calculation error on bytes per frame

This commit is contained in:
Jonathan Thomas
2022-09-20 16:55:07 -05:00
parent 16dc5408cc
commit 969a2015bf
4 changed files with 40 additions and 14 deletions

View File

@@ -33,9 +33,10 @@ Settings *Settings::Instance()
m_pInstance->DE_LIMIT_WIDTH_MAX = 1950;
m_pInstance->HW_DE_DEVICE_SET = 0;
m_pInstance->HW_EN_DEVICE_SET = 0;
m_pInstance->VIDEO_CACHE_PERCENT_AHEAD = 0.75;
m_pInstance->VIDEO_CACHE_MIN_PREROLL_FRAMES = 2;
m_pInstance->VIDEO_CACHE_MAX_PREROLL_FRAMES = 8;
m_pInstance->VIDEO_CACHE_MAX_FRAMES = 30 * 3;
m_pInstance->VIDEO_CACHE_MAX_FRAMES = 30 * 20;
m_pInstance->ENABLE_PLAYBACK_CACHING = true;
m_pInstance->PLAYBACK_AUDIO_DEVICE_NAME = "";
m_pInstance->PLAYBACK_AUDIO_DEVICE_TYPE = "";