Rename java VideoCodecType to VideoCodecMimeType
to avoid collission and confusion with VideoCodeType based on c++ enum with the same name. Bug: b/148146536 Change-Id: I049cce21d59f454c7ce507fdfc3a85d168f96223 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170048 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30728}
This commit is contained in:
committed by
Commit Bot
parent
afa2e5f18c
commit
4e1d6ce384
@ -56,7 +56,7 @@ class AndroidVideoDecoder implements VideoDecoder, VideoSink {
|
||||
|
||||
private final MediaCodecWrapperFactory mediaCodecWrapperFactory;
|
||||
private final String codecName;
|
||||
private final VideoCodecType codecType;
|
||||
private final VideoCodecMimeType codecType;
|
||||
|
||||
private static class FrameInfo {
|
||||
final long decodeStartTimeMs;
|
||||
@ -129,7 +129,7 @@ class AndroidVideoDecoder implements VideoDecoder, VideoSink {
|
||||
@Nullable private MediaCodecWrapper codec;
|
||||
|
||||
AndroidVideoDecoder(MediaCodecWrapperFactory mediaCodecWrapperFactory, String codecName,
|
||||
VideoCodecType codecType, int colorFormat, @Nullable EglBase.Context sharedContext) {
|
||||
VideoCodecMimeType codecType, int colorFormat, @Nullable EglBase.Context sharedContext) {
|
||||
if (!isSupportedColorFormat(colorFormat)) {
|
||||
throw new IllegalArgumentException("Unsupported color format: " + colorFormat);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user