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 692de96 commit ec6bae9Copy full SHA for ec6bae9
src/torchcodec/decoders/_decoder_utils.py
@@ -40,7 +40,7 @@ def get_and_validate_stream_metadata(
40
decoder: Tensor,
41
stream_index: Optional[int] = None,
42
media_type: str,
43
-) -> Tuple[core.VideoStreamMetadata, int, float, float]:
+) -> Tuple[core._metadata.StreamMetadata, int, float, float]:
44
45
if media_type not in ("video", "audio"):
46
raise ValueError(f"Bad {media_type = }, should be audio or video")
0 commit comments