From c7868acef78c41d96f718e56c2079af67eed91c8 Mon Sep 17 00:00:00 2001 From: Dodothereal <129273127+Dodothereal@users.noreply.github.com> Date: Sat, 27 Jun 2026 00:37:58 +0200 Subject: [PATCH] docs(video_load): fix typos 'effiently' and 'whithin' in video_load.mdx Signed-off-by: Dodothereal <129273127+Dodothereal@users.noreply.github.com> --- docs/source/video_load.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/video_load.mdx b/docs/source/video_load.mdx index d9c2e9abcca..e1b6fa53411 100644 --- a/docs/source/video_load.mdx +++ b/docs/source/video_load.mdx @@ -37,7 +37,7 @@ Access frames directly from a video using the `VideoReader` using `next()`: ``` To get multiple frames at once, you can call `.get_frames_in_range(start: int, stop: int, step: int)`. This will return a frame batch. -This is the efficient way to obtain a long list of frames refer to the [torchcodec docs](https://docs.pytorch.org/torchcodec/stable/generated/torchcodec.decoders.VideoDecoder.html) to see more functions for effiently accessing the data: +This is the efficient way to obtain a long list of frames refer to the [torchcodec docs](https://docs.pytorch.org/torchcodec/stable/generated/torchcodec.decoders.VideoDecoder.html) to see more functions for efficiently accessing the data: ```python >>> import torch @@ -46,7 +46,7 @@ This is the efficient way to obtain a long list of frames refer to the [torchcod torch.Size([5, 3, 240, 320]) ``` -There is also `.get_frames_played_in_range(start_seconds: float, stop_seconds: float)` to access all frames played whithin a certain time range. +There is also `.get_frames_played_in_range(start_seconds: float, stop_seconds: float)` to access all frames played within a certain time range. ```python >>> frames = video.get_frames_played_in_range(.5, 1.2)