mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Make FfmpegLibrary H264/HEVC aware
Issue: #2159 PiperOrigin-RevId: 301351495
This commit is contained in:
parent
235c631136
commit
b7a5ace4be
1 changed files with 4 additions and 0 deletions
|
|
@ -118,6 +118,10 @@ public final class FfmpegLibrary {
|
||||||
return "pcm_mulaw";
|
return "pcm_mulaw";
|
||||||
case MimeTypes.AUDIO_ALAW:
|
case MimeTypes.AUDIO_ALAW:
|
||||||
return "pcm_alaw";
|
return "pcm_alaw";
|
||||||
|
case MimeTypes.VIDEO_H264:
|
||||||
|
return "h264";
|
||||||
|
case MimeTypes.VIDEO_H265:
|
||||||
|
return "hevc";
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue