-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
bayu
committed
Dec 30, 2021
1 parent
e3d521b
commit 4759976
Showing
4 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
inno-video-converter/src/main/java/com/mncgroup/innovideoconverter/InnoVideoScale.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.mncgroup.innovideoconverter | ||
|
||
/** | ||
* scale video | ||
* @property width scale widht of video, set -1 will tell app to automatically choose the correct width. | ||
* @property height scale height of video, set -1 will tell app to automatically choose the correct height. | ||
* | ||
* Example scale: | ||
* -1:720 : will tell app to scale height to 720 and thw width will automatically choose the correct width | ||
*/ | ||
class InnoVideoScale( | ||
var width: Int, | ||
var height: Int | ||
) |