From 204efe020e484abbb7f0d998a3ac5f86146ed641 Mon Sep 17 00:00:00 2001 From: pedroSG94 Date: Thu, 14 Nov 2024 10:52:22 +0100 Subject: [PATCH] fix getAllEncodersCbrPriority --- encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java b/encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java index 3ccc135eb..b2a50c8a8 100644 --- a/encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java +++ b/encoder/src/main/java/com/pedro/encoder/utils/CodecUtil.java @@ -307,7 +307,7 @@ public static List getAllEncoders(String mime, boolean hardwareP public static List getAllEncodersCbrPriority(String mime) { List mediaCodecInfoList = new ArrayList<>(); List hardwareEncoders = getAllHardwareEncoders(mime); - List softwareEncoders = getAllHardwareEncoders(mime); + List softwareEncoders = getAllSoftwareEncoders(mime); List hardwareEncodersCbr = new ArrayList<>(); List hardwareEncodersNoCbr = new ArrayList<>();