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 dc86a8c commit 884f4dcCopy full SHA for 884f4dc
src/torchcodec/_core/ops.py
@@ -321,8 +321,8 @@ def encode_video_to_file_abstract(
321
frames: torch.Tensor,
322
frame_rate: int,
323
filename: str,
324
- crf: Optional[int],
325
- pixel_format: Optional[str],
+ crf: Optional[int] = None,
+ pixel_format: Optional[str] = None,
326
) -> None:
327
return
328
@@ -332,8 +332,8 @@ def encode_video_to_tensor_abstract(
332
333
334
format: str,
335
336
337
) -> torch.Tensor:
338
return torch.empty([], dtype=torch.long)
339
0 commit comments