-
Notifications
You must be signed in to change notification settings - Fork 760
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
Showing
9 changed files
with
104 additions
and
36 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
30 changes: 30 additions & 0 deletions
30
rxffmpeg/src/main/java/io/microshow/rxffmpeg/RxFFmpegProgress.java
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,30 @@ | ||
package io.microshow.rxffmpeg; | ||
|
||
/** | ||
* 进度封装 | ||
*/ | ||
public class RxFFmpegProgress { | ||
|
||
public int state = 0; | ||
|
||
/** | ||
* 执行进度 | ||
*/ | ||
public int progress; | ||
|
||
/** | ||
* 执行的时间,相对于总时间 单位:微秒 | ||
*/ | ||
public long progressTime; | ||
|
||
public RxFFmpegProgress(int state, int progress, long progressTime) { | ||
this.state = state; | ||
this.progress = progress; | ||
this.progressTime = progressTime; | ||
} | ||
|
||
public RxFFmpegProgress(int state) { | ||
this(state, 0, 0); | ||
} | ||
|
||
} |
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