Repository navigation
[FIX] Preserve the final SCC and CCD frame at fractional rates - #2526
Pranjul-00 wants to merge 1 commit into
Conversation
CCExtractor CI platform finished running the test files on linux. 171/238 tests matched the approved output:
67 tests do not match the approved output. That is the pass/fail verdict. Whether this branch caused it is a separate question, answered below.
Compared with the tip of master — test 10180, commit 2c1c1c6:
Compared with the commit this branch was cut from: the same run as the tip of master (test 10180), so the comparison above already covers it. No test changes behaviour relative to the tip of master: every failure above fails there too, byte for byte. The approved output for those tests is out of date, which is a baseline to review rather than a regression in this branch. |
CCExtractor CI platform finished running the test files on windows. 171/238 tests matched the approved output:
67 tests do not match the approved output. That is the pass/fail verdict. Whether this branch caused it is a separate question, answered below.
Compared with the tip of master — test 10179, commit f56427e:
Compared with the commit this branch was cut from — test 10181, commit 2c1c1c6:
No test changes behaviour relative to the tip of master: every failure above fails there too, byte for byte. The approved output for those tests is out of date, which is a baseline to review rather than a regression in this branch. |
Fixes #2525.
The SCC and CCD writer calculates frame 29 at the end of a second at 29.97 fps, then clamps it to 28. The same check clamps 23 to 22 at 23.976 fps. Rounding the frame count up gives the correct upper limit at both rates.
Reproduction
From the repository root, use the existing SCC sample:
On upstream commit
2c1c1c6f, the first timestamp is00:00:01:28. With the fix it is00:00:01:29. The new CTest checks the first timestamp for SCC and CCD at all five supported rates. Both CTest targets passed locally on Linux.Reason for this PR
Sanity check