Let Pacer know what the display Hz and stream FPS are so it can make better drop decisions

This commit is contained in:
Cameron Gutman
2018-08-15 21:10:35 -07:00
parent f171588616
commit f929cffce7
3 changed files with 59 additions and 15 deletions
+3 -1
View File
@@ -131,10 +131,12 @@ public:
int videoFormat,
int,
int,
int) override
int maxFps) override
{
int err;
m_Pacer.initialize(window, maxFps);
if (videoFormat & VIDEO_FORMAT_MASK_H264) {
// Prior to 10.13, we'll just assume everything has
// H.264 support and fail open to allow VT decode.