Correctly show lowest CPU usage for video table. Closes #2800
This commit is contained in:
@@ -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',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user