mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
Restore wrapping of MediaCodec ISEs in MediaCodecDecoderException
Wrapping MediaCodec ISEs in MediaCodecDecoderException lets us attach MediaCodecInfo, which contains lots of useful information such as the MediaCodec name, the codec capabilities, etc. PiperOrigin-RevId: 323575782
This commit is contained in:
parent
bcb9ad22af
commit
7f10800e25
1 changed files with 1 additions and 1 deletions
|
|
@ -819,7 +819,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
|
|||
decoderCounters.ensureUpdated();
|
||||
} catch (IllegalStateException e) {
|
||||
if (isMediaCodecException(e)) {
|
||||
throw createRendererException(e, inputFormat);
|
||||
throw createRendererException(createDecoderException(e, getCodecInfo()), inputFormat);
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue