We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e736742 commit 6432727Copy full SHA for 6432727
src/torchcodec/decoders/_video_decoder.py
@@ -514,7 +514,11 @@ def _make_transform_specs(
514
# dimensions from its input dimensions. We store these with the converted
515
# transform, to be all used together when we generate the specs.
516
converted_transforms: list[
517
- Tuple[DecoderTransform, Tuple[Optional[int], Optional[int]]]
+ Tuple[
518
+ DecoderTransform,
519
+ # A (height, width) pair where the values may be missing.
520
+ Tuple[Optional[int], Optional[int]],
521
+ ]
522
] = []
523
curr_input_dims = input_dims
524
for transform in transforms:
0 commit comments