Skip to content

Commit 6432727

Browse files
committed
Comment
1 parent e736742 commit 6432727

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/torchcodec/decoders/_video_decoder.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,11 @@ def _make_transform_specs(
514514
# dimensions from its input dimensions. We store these with the converted
515515
# transform, to be all used together when we generate the specs.
516516
converted_transforms: list[
517-
Tuple[DecoderTransform, Tuple[Optional[int], Optional[int]]]
517+
Tuple[
518+
DecoderTransform,
519+
# A (height, width) pair where the values may be missing.
520+
Tuple[Optional[int], Optional[int]],
521+
]
518522
] = []
519523
curr_input_dims = input_dims
520524
for transform in transforms:

0 commit comments

Comments
 (0)