-
Notifications
You must be signed in to change notification settings - Fork 220
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
1 parent
0bb5aa0
commit 672f4ae
Showing
3 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
mp4compose/src/main/java/com/daasuu/mp4compose/VideoFormatMimeType.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,21 @@ | ||
package com.daasuu.mp4compose; | ||
|
||
import android.media.MediaFormat; | ||
|
||
public enum VideoFormatMimeType { | ||
HEVC(MediaFormat.MIMETYPE_VIDEO_HEVC), | ||
AVC(MediaFormat.MIMETYPE_VIDEO_AVC), | ||
MPEG4(MediaFormat.MIMETYPE_VIDEO_MPEG4), | ||
H263(MediaFormat.MIMETYPE_VIDEO_H263), | ||
AUTO(""); | ||
|
||
private final String videoFormatMimeType; | ||
|
||
VideoFormatMimeType(String videoFormatMimeType) { | ||
this.videoFormatMimeType = videoFormatMimeType; | ||
} | ||
|
||
public String getFormat() { | ||
return videoFormatMimeType; | ||
} | ||
} |
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