"git@developer.sourcefind.cn:OpenDAS/torch-cluster.git" did not exist on "6f222280cee19ee5e7f9fda8d976d66917afcfc5"
Unverified Commit 1b83f46c authored by ProGamerGov's avatar ProGamerGov Committed by GitHub
Browse files

Fix spelling mistake: orignal -> original (#3062)



* Fix spelling mistake: orignal -> original

* Spelling fix: orignal -> original
Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
parent 6e7ed49a
...@@ -52,7 +52,7 @@ struct VideoFormat { ...@@ -52,7 +52,7 @@ struct VideoFormat {
} }
/* /*
When width = 0, height = 0, minDimension = 0, and maxDimension = 0, When width = 0, height = 0, minDimension = 0, and maxDimension = 0,
keep the orignal frame resolution keep the original frame resolution
When width = 0, height = 0, minDimension != 0, and maxDimension = 0, When width = 0, height = 0, minDimension != 0, and maxDimension = 0,
keep the aspect ratio and resize the frame so that shorter edge size is keep the aspect ratio and resize the frame so that shorter edge size is
minDimension minDimension
......
...@@ -193,7 +193,7 @@ def _read_video_from_file( ...@@ -193,7 +193,7 @@ def _read_video_from_file(
video_width/video_height/video_min_dimension/video_max_dimension: int video_width/video_height/video_min_dimension/video_max_dimension: int
together decide the size of decoded frames together decide the size of decoded frames
- When video_width = 0, video_height = 0, video_min_dimension = 0, - When video_width = 0, video_height = 0, video_min_dimension = 0,
and video_max_dimension = 0, keep the orignal frame resolution and video_max_dimension = 0, keep the original frame resolution
- When video_width = 0, video_height = 0, video_min_dimension != 0, - When video_width = 0, video_height = 0, video_min_dimension != 0,
and video_max_dimension = 0, keep the aspect ratio and resize the and video_max_dimension = 0, keep the aspect ratio and resize the
frame so that shorter edge size is video_min_dimension frame so that shorter edge size is video_min_dimension
...@@ -357,7 +357,7 @@ def _read_video_from_memory( ...@@ -357,7 +357,7 @@ def _read_video_from_memory(
video_width/video_height/video_min_dimension/video_max_dimension: int video_width/video_height/video_min_dimension/video_max_dimension: int
together decide the size of decoded frames together decide the size of decoded frames
- When video_width = 0, video_height = 0, video_min_dimension = 0, - When video_width = 0, video_height = 0, video_min_dimension = 0,
and video_max_dimension = 0, keep the orignal frame resolution and video_max_dimension = 0, keep the original frame resolution
- When video_width = 0, video_height = 0, video_min_dimension != 0, - When video_width = 0, video_height = 0, video_min_dimension != 0,
and video_max_dimension = 0, keep the aspect ratio and resize the and video_max_dimension = 0, keep the aspect ratio and resize the
frame so that shorter edge size is video_min_dimension frame so that shorter edge size is video_min_dimension
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment