Throw a RendererException instead of a bare IllegalStateException upon codec recovery failure

This commit is contained in:
Cameron Gutman
2022-09-20 21:43:35 -05:00
parent bc483edb29
commit 2c498ce707

View File

@@ -617,7 +617,7 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer implements C
reportedCrash = true;
crashListener.notifyCrash(e);
}
throw e;
throw new RendererException(this, e);
}
}