[desktop] Use correct unit for bitrate (#5919)

This commit is contained in:
Manav Rathi
2025-05-15 15:27:20 +05:30
committed by GitHub

View File

@@ -606,7 +606,7 @@ const detectVideoCharacteristics = async (inputFilePath: string) => {
const brs = videoBitrateRegex.exec(videoStreamLine)?.at(0);
if (brs) {
const br = parseInt(brs, 10);
if (br) res.bitrate = br;
if (br) res.bitrate = br * 1000;
}
return res;