fix(server): set pixel format when scaling and not tonemapping (#16932)

set pixel format when scaling and not tonemapping
This commit is contained in:
Mert
2025-03-18 12:42:09 -04:00
committed by GitHub
parent fe19f9ba84
commit 9f46ba8eb4
3 changed files with 51 additions and 32 deletions

View File

@@ -134,6 +134,22 @@ export const probeStub = {
},
],
}),
videoStream4K10Bit: Object.freeze<VideoInfo>({
...probeStubDefault,
videoStreams: [
{
index: 0,
height: 2160,
width: 3840,
codecName: 'h264',
frameCount: 100,
rotation: 0,
isHDR: false,
bitrate: 0,
pixelFormat: 'yuv420p10le',
},
],
}),
videoStreamVertical2160p: Object.freeze<VideoInfo>({
...probeStubDefault,
videoStreams: [