Skip to content

Commit f6129b2

Browse files
committed
test(studio): say why the proxy fixture has no B-frames
1 parent 279b2c4 commit f6129b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/studio-server/src/helpers/proxyTranscoder.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ describe("resolveProxy", () => {
377377
const segment = (transfer: number) =>
378378
execFileSync(realFfmpeg!, [
379379
...["-v", "error", "-f", "lavfi", "-i", "testsrc2=s=320x180:r=25:d=0.2"],
380-
// No B-frames: genpts on a raw stream with reordering writes pts before dts and drops frames.
380+
// No B-frames: genpts stamps a raw stream in decode order, so reordered frames get wrong times.
381381
...["-c:v", "libx264", "-bf", "0", "-pix_fmt", "yuv420p", "-bsf:v"],
382382
`h264_metadata=colour_primaries=9:transfer_characteristics=${transfer}:matrix_coefficients=9`,
383383
...["-f", "h264", "-"],

0 commit comments

Comments
 (0)