mirror of
https://github.com/androidx/media.git
synced 2025-05-11 01:31:40 +08:00
Print the name of the decoder we failed to query.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124712775
This commit is contained in:
parent
189a2502c5
commit
df4e4a72fa
@ -169,6 +169,9 @@ public final class MediaCodecUtil {
|
||||
// Suppress error querying secondary codec capabilities up to API level 23.
|
||||
Log.e(TAG, "Skipping codec " + codecName + " (failed to query capabilities)");
|
||||
} else {
|
||||
// Rethrow error querying primary codec capabilities, or secondary codec
|
||||
// capabilities if API level is greater than 23.
|
||||
Log.e(TAG, "Failed to query codec " + codecName + " (" + supportedType + ")");
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user