mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Correctly show lowest CPU usage for video table. Closes #2800
This commit is contained in:
parent
e6d7618b0c
commit
cff37eaf83
@ -151,7 +151,7 @@ export const CurrentVariantsTable: FC = () => {
|
|||||||
dataIndex: 'cpuUsageLevel',
|
dataIndex: 'cpuUsageLevel',
|
||||||
key: 'cpuUsageLevel',
|
key: 'cpuUsageLevel',
|
||||||
render: (level: string, variant: VideoVariant) =>
|
render: (level: string, variant: VideoVariant) =>
|
||||||
!level || variant.videoPassthrough
|
variant.videoPassthrough
|
||||||
? 'n/a'
|
? 'n/a'
|
||||||
: ENCODER_PRESET_TOOLTIPS[level]?.split(' ')[0] || 'Warning: please edit & reset',
|
: ENCODER_PRESET_TOOLTIPS[level]?.split(' ')[0] || 'Warning: please edit & reset',
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user