diff options
author | Kazuhiro Inaba <kinaba@google.com> | 2021-05-07 23:26:30 +0900 |
---|---|---|
committer | Chih-Yu Huang <akahuang@google.com> | 2021-05-12 11:53:07 +0900 |
commit | e2fc88c05cb1c2cf08feac473a9747aa9270caa8 (patch) | |
tree | 98defc34a4249cd9223826ce8005505d781e5d76 | |
parent | 2e813d9b3d6aa76494fcf0901192343641ce896a (diff) | |
download | v4l2_codec2-e2fc88c05cb1c2cf08feac473a9747aa9270caa8.tar.gz |
Mark VP8 decoder as valid.
It looks like the codec name was lost in ag/13694191 accidentally.
Bug: 186361543
Test: Run any CTS test and check MediaDeviceInfo.deviceinfo.json
Change-Id: I3ed72bb3f6ea6eb88652aca778adb2fd3fe2049a
-rw-r--r-- | common/V4L2ComponentCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/V4L2ComponentCommon.cpp b/common/V4L2ComponentCommon.cpp index 6cf3618..518b489 100644 --- a/common/V4L2ComponentCommon.cpp +++ b/common/V4L2ComponentCommon.cpp @@ -25,7 +25,7 @@ const std::string V4L2ComponentName::kVP9SecureDecoder = "c2.v4l2.vp9.decoder.se // static bool V4L2ComponentName::isValid(const char* name) { return name == kH264Encoder || name == kVP8Encoder || name == kVP9Encoder || - name == kH264Decoder || name == kVP9Encoder || name == kVP9Decoder || + name == kH264Decoder || name == kVP8Decoder || name == kVP9Decoder || name == kH264SecureDecoder || name == kVP8SecureDecoder || name == kVP9SecureDecoder; } |