Skip to content

Commit 5e0e3e4

Browse files
Minor tweaks
Added docstring, removed whitespace Co-authored-by: Copilot <[email protected]>
1 parent 75bca2a commit 5e0e3e4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/native/src/frame_extractor.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ void copyFrameData(CVImageBufferRef imageBuffer, uint8_t* dst) {
225225
if (bytesPerRow == data_width) {
226226
memcpy(dst, src, data_size);
227227
} else {
228-
229228
for (int y = 0; y < cachedHeight; y++) {
230229
memcpy(dst + y * data_width,
231230
src + y * bytesPerRow,

tests/test_viteo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def test_run_to_end(sample_video):
138138

139139

140140
def test_last_frame_is_none(sample_video):
141+
"""Test that after all frames are read, the next frame is None and the frame count matches total_frames."""
141142
path = sample_video["path"]
142143
if not path.exists():
143144
pytest.skip(f"Test video not found: {path}")

0 commit comments

Comments
 (0)