Convert all time-based stats to be microsecond-based, improving accuracy of very fast events. Add bitrate average/peak.
This commit is contained in:
parent
1160f40655
commit
66b96e75af
11 changed files with 278 additions and 52 deletions
|
|
@ -220,7 +220,7 @@ bool StreamUtils::getNativeDesktopMode(int displayIndex, SDL_DisplayMode* mode,
|
|||
CGDirectDisplayID displayIds[MAX_DISPLAYS];
|
||||
uint32_t displayCount = 0;
|
||||
CGGetActiveDisplayList(MAX_DISPLAYS, displayIds, &displayCount);
|
||||
if (displayIndex >= displayCount) {
|
||||
if (displayIndex >= (int)displayCount) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue