diff --git a/spot/entrypoints/content/SavingControls.tsx b/spot/entrypoints/content/SavingControls.tsx index 062911b15..9507e0ebd 100644 --- a/spot/entrypoints/content/SavingControls.tsx +++ b/spot/entrypoints/content/SavingControls.tsx @@ -152,7 +152,7 @@ function SavingControls({ const trim = bounds[0] + bounds[1] === 0 ? null - : (bounds.map((i: number) => Math.round(i * 1000)) as [number, number]); + : [Math.floor(bounds[0] * 1000), Math.ceil(bounds[1] * 1000)] const dataObj = { blob: videoBlob(), name: name(), diff --git a/spot/entrypoints/offscreen/main.js b/spot/entrypoints/offscreen/main.js index d24162c44..357319d0b 100644 --- a/spot/entrypoints/offscreen/main.js +++ b/spot/entrypoints/offscreen/main.js @@ -4,6 +4,7 @@ function getRecordingSettings(qualityValue) { const settingsMap = { "4k": { audioBitsPerSecond: 192000, videoBitsPerSecond: 40000000, width: 4096, height: 2160 }, "1080p": { audioBitsPerSecond: 192000, videoBitsPerSecond: 8000000, width: 1920, height: 1080 }, + // @default "720p": { audioBitsPerSecond: 96000, videoBitsPerSecond: 2500000, width: 1280, height: 720 }, "480p": { audioBitsPerSecond: 96000, videoBitsPerSecond: 2500000, width: 854, height: 480 }, "360p": { audioBitsPerSecond: 96000, videoBitsPerSecond: 1000000, width: 640, height: 360 },