Skip to content

Commit 9a46404

Browse files
committed
Tweak VideoDecoder doc string
1 parent 3cd6842 commit 9a46404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/torchcodec/decoders/_video_decoder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ class VideoDecoder:
5151
Default: 1.
5252
device (str or torch.device, optional): The device to use for decoding. Default: "cpu".
5353
seek_mode (str, optional): Determines if frame access will be "exact" or
54-
"approximate". Exact guarantees that requesting frame i will always returns frame i,
54+
"approximate". Exact guarantees that requesting frame i will always return frame i,
5555
but doing so requires an initial :term:`scan` of the file. Approximate is faster as it avoids scanning the
56-
file, but less accurate uses the file's metadata to calculate where i probably is. Default: "exact".
56+
file, but less accurate as it uses the file's metadata to calculate where i probably is. Default: "exact".
5757
5858
5959
Attributes:

0 commit comments

Comments
 (0)