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
@ -76,7 +76,7 @@ class MediaCodecUtils {
|
||||
return null;
|
||||
}
|
||||
|
||||
static boolean codecSupportsType(MediaCodecInfo info, VideoCodecType type) {
|
||||
static boolean codecSupportsType(MediaCodecInfo info, VideoCodecMimeType type) {
|
||||
for (String mimeType : info.getSupportedTypes()) {
|
||||
if (type.mimeType().equals(mimeType)) {
|
||||
return true;
|
||||
@ -85,7 +85,7 @@ class MediaCodecUtils {
|
||||
return false;
|
||||
}
|
||||
|
||||
static Map<String, String> getCodecProperties(VideoCodecType type, boolean highProfile) {
|
||||
static Map<String, String> getCodecProperties(VideoCodecMimeType type, boolean highProfile) {
|
||||
switch (type) {
|
||||
case VP8:
|
||||
case VP9:
|
||||
|
||||
Reference in New Issue
Block a user