File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ class VideoDecoder:
5050 Passing 0 lets FFmpeg decide on the number of threads.
5151 Default: 1.
5252 device (str or torch.device, optional): The device to use for decoding. Default: "cpu".
53- seek_mode (str, optional): Determines if index-based frame access will be "exact" or
53+ seek_mode (str, optional): Determines if frame access will be "exact" or
5454 "approximate". Exact guarantees that requesting frame i will always returns frame i,
55- but doing so requires an initial scan of the file. Approximate avoids scanning the
56- file, but uses the file's metadata to calculate where i probably is. Default: "exact".
55+ 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".
5757
5858
5959 Attributes:
You can’t perform that action at this time.
0 commit comments