Skip to content

Commit ec6bae9

Browse files
committed
mypy
1 parent 692de96 commit ec6bae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/decoders/_decoder_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_and_validate_stream_metadata(
4040
decoder: Tensor,
4141
stream_index: Optional[int] = None,
4242
media_type: str,
43-
) -> Tuple[core.VideoStreamMetadata, int, float, float]:
43+
) -> Tuple[core._metadata.StreamMetadata, int, float, float]:
4444

4545
if media_type not in ("video", "audio"):
4646
raise ValueError(f"Bad {media_type = }, should be audio or video")

0 commit comments

Comments
 (0)