Skip to content

Commit 0f8a072

Browse files
author
Bruno Korbar
committed
lint?
1 parent 242a5a7 commit 0f8a072

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_videoapi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ def test_frame_reading(self):
6464
av_pts, vr_pts = [], []
6565
# get av frames
6666
for av_frame in av_reader.decode(av_reader.streams.video[0]):
67-
av_frames.append(torch.tensor(av_frame.to_rgb(src_colorspace="ITU709").to_ndarray()).permute(2, 0, 1))
67+
av_frames.append(
68+
torch.tensor(av_frame.to_rgb(src_colorspace="ITU709").to_ndarray()).permute(2, 0, 1)
69+
)
6870
av_pts.append(av_frame.pts * av_frame.time_base)
6971

7072
# get vr frames

0 commit comments

Comments
 (0)