Skip to content

Commit 1b83f46

Browse files
Fix spelling mistake: orignal -> original (#3062)
* Fix spelling mistake: orignal -> original * Spelling fix: orignal -> original Co-authored-by: Vasilis Vryniotis <[email protected]>
1 parent 6e7ed49 commit 1b83f46

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

torchvision/csrc/cpu/decoder/defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ struct VideoFormat {
5252
}
5353
/*
5454
When width = 0, height = 0, minDimension = 0, and maxDimension = 0,
55-
keep the orignal frame resolution
55+
keep the original frame resolution
5656
When width = 0, height = 0, minDimension != 0, and maxDimension = 0,
5757
keep the aspect ratio and resize the frame so that shorter edge size is
5858
minDimension

torchvision/io/_video_opt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def _read_video_from_file(
193193
video_width/video_height/video_min_dimension/video_max_dimension: int
194194
together decide the size of decoded frames
195195
- 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
197197
- When video_width = 0, video_height = 0, video_min_dimension != 0,
198198
and video_max_dimension = 0, keep the aspect ratio and resize the
199199
frame so that shorter edge size is video_min_dimension
@@ -357,7 +357,7 @@ def _read_video_from_memory(
357357
video_width/video_height/video_min_dimension/video_max_dimension: int
358358
together decide the size of decoded frames
359359
- 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
361361
- When video_width = 0, video_height = 0, video_min_dimension != 0,
362362
and video_max_dimension = 0, keep the aspect ratio and resize the
363363
frame so that shorter edge size is video_min_dimension

0 commit comments

Comments
 (0)