mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
HDR: Only check for HDR encoders on API 33+.
FEATURE_HdrEditing is only available on and above API 33, so it doesn't make sense to check for support under API 33. PiperOrigin-RevId: 518036855
This commit is contained in:
parent
669008f437
commit
fca9197e1c
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ public final class EncoderUtil {
|
|||
*/
|
||||
public static ImmutableList<MediaCodecInfo> getSupportedEncodersForHdrEditing(
|
||||
String mimeType, @Nullable ColorInfo colorInfo) {
|
||||
if (Util.SDK_INT < 31 || colorInfo == null) {
|
||||
if (Util.SDK_INT < 33 || colorInfo == null) {
|
||||
return ImmutableList.of();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue