Skip to content

Commit

Permalink
Update src/torchcodec/decoders/_video_decoder.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
  • Loading branch information
ahmadsharif1 and NicolasHug authored Oct 25, 2024
1 parent fcf2e91 commit 2d3fab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torchcodec/decoders/_video_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class VideoDecoder:
size, C is the number of channels, H is the height, and W is the
width of the frames.
num_ffmpeg_threads (int, optional): The number of threads to use for decoding.
Use 1 for single-threaded decoding which is best if you are running multiple
Use 1 for single-threaded decoding which may be best if you are running multiple
instances of ``VideoDecoder`` in parallel. Use a higher number for multi-threaded
decoding which is best if you are running a single instance of ``VideoDecoder``.
Default: 1.
Expand Down

0 comments on commit 2d3fab9

Please sign in to comment.