0

Correctly show lowest CPU usage for video table. Closes #2800

This commit is contained in:
Gabe Kangas 2023-04-03 14:56:08 -07:00
parent e6d7618b0c
commit cff37eaf83
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -151,7 +151,7 @@ export const CurrentVariantsTable: FC = () => {
dataIndex: 'cpuUsageLevel',
key: 'cpuUsageLevel',
render: (level: string, variant: VideoVariant) =>
!level || variant.videoPassthrough
variant.videoPassthrough
? 'n/a'
: ENCODER_PRESET_TOOLTIPS[level]?.split(' ')[0] || 'Warning: please edit & reset',
},