-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from kokorin/develop
Develop
- Loading branch information
Showing
64 changed files
with
2,375 additions
and
4,070 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
*.iml | ||
target | ||
.artifacts | ||
dependency-reduced-pom.xml |
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
18 changes: 17 additions & 1 deletion
18
src/main/java/com/github/kokorin/jaffree/JaffreeException.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
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,37 @@ | ||
package com.github.kokorin.jaffree; | ||
|
||
public enum LogCategory { | ||
NA(0), | ||
INPUT(1), | ||
OUTPUT(2), | ||
MUXER(3), | ||
DEMUXER(4), | ||
ENCODER(5), | ||
DECODER(6), | ||
FILTER(7), | ||
BITSTREAM_FILTER(8), | ||
SWSCALER(9), | ||
SWRESAMPLER(10), | ||
DEVICE_VIDEO_OUTPUT(40), | ||
DEVICE_VIDEO_INPUT(41), | ||
DEVICE_AUDIO_OUTPUT(42), | ||
DEVICE_AUDIO_INPUT(43), | ||
DEVICE_OUTPUT(44), | ||
DEVICE_INPUT(45), | ||
NB(46); | ||
|
||
private final int code; | ||
|
||
LogCategory(int code) { | ||
this.code = code; | ||
} | ||
|
||
public static LogCategory fromCode(int code) { | ||
for (LogCategory category : values()) { | ||
if (category.code == code) { | ||
return category; | ||
} | ||
} | ||
return null; | ||
} | ||
} |
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
Oops, something went wrong.