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 @@ -331,7 +331,7 @@ def encode_video_to_file_abstract(
331331 frames : torch .Tensor ,
332332 frame_rate : int ,
333333 filename : str ,
334- codec : Optional [str ],
334+ codec : Optional [str ] = None ,
335335 pixel_format : Optional [str ] = None ,
336336 preset : Optional [str ] = None ,
337337 crf : Optional [Union [int , float ]] = None ,
@@ -345,7 +345,7 @@ def encode_video_to_tensor_abstract(
345345 frames : torch .Tensor ,
346346 frame_rate : int ,
347347 format : str ,
348- codec : Optional [str ],
348+ codec : Optional [str ] = None ,
349349 pixel_format : Optional [str ] = None ,
350350 preset : Optional [str ] = None ,
351351 crf : Optional [Union [int , float ]] = None ,
@@ -360,7 +360,7 @@ def _encode_video_to_file_like_abstract(
360360 frame_rate : int ,
361361 format : str ,
362362 file_like_context : int ,
363- codec : Optional [str ],
363+ codec : Optional [str ] = None ,
364364 pixel_format : Optional [str ] = None ,
365365 preset : Optional [str ] = None ,
366366 crf : Optional [Union [int , float ]] = None ,
You can’t perform that action at this time.
0 commit comments