Skip to content

Commit 6f199e8

Browse files
committed
make extra_options keyword only in to_file
1 parent a7a25b7 commit 6f199e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/encoders/_video_encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ def __init__(self, frames: Tensor, *, frame_rate: int):
3535
def to_file(
3636
self,
3737
dest: Union[str, Path],
38-
extra_options: Optional[Dict[str, Any]] = None,
3938
*,
4039
codec: Optional[str] = None,
4140
pixel_format: Optional[str] = None,
4241
crf: Optional[Union[int, float]] = None,
4342
preset: Optional[Union[str, int]] = None,
43+
extra_options: Optional[Dict[str, Any]] = None,
4444
) -> None:
4545
"""Encode frames into a file.
4646

0 commit comments

Comments
 (0)