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 4200be0 commit ad289d0Copy full SHA for ad289d0
src/torchcodec/_core/ops.py
@@ -212,7 +212,7 @@ def encode_video_to_file_like(
212
frame_rate: int,
213
format: str,
214
file_like: Union[io.RawIOBase, io.BufferedIOBase],
215
- device: str = "cpu",
+ device: Optional[str] = "cpu",
216
crf: Optional[int] = None,
217
) -> None:
218
"""Encode video frames to a file-like object.
0 commit comments