@@ -193,7 +193,7 @@ def _read_video_from_file(
193
193
video_width/video_height/video_min_dimension/video_max_dimension: int
194
194
together decide the size of decoded frames
195
195
- When video_width = 0, video_height = 0, video_min_dimension = 0,
196
- and video_max_dimension = 0, keep the orignal frame resolution
196
+ and video_max_dimension = 0, keep the original frame resolution
197
197
- When video_width = 0, video_height = 0, video_min_dimension != 0,
198
198
and video_max_dimension = 0, keep the aspect ratio and resize the
199
199
frame so that shorter edge size is video_min_dimension
@@ -357,7 +357,7 @@ def _read_video_from_memory(
357
357
video_width/video_height/video_min_dimension/video_max_dimension: int
358
358
together decide the size of decoded frames
359
359
- When video_width = 0, video_height = 0, video_min_dimension = 0,
360
- and video_max_dimension = 0, keep the orignal frame resolution
360
+ and video_max_dimension = 0, keep the original frame resolution
361
361
- When video_width = 0, video_height = 0, video_min_dimension != 0,
362
362
and video_max_dimension = 0, keep the aspect ratio and resize the
363
363
frame so that shorter edge size is video_min_dimension
0 commit comments