Use specific error code for exceptions during encoding/decoding.
After this change exceptions throw by MediaCodec during encoding/decoding will result in TransformationExceptions with ERROR_CODE_ENCODING_FAILED/ERROR_CODE_DECODING_FAILED. Before this change ERROR_CODE_FAILED_RUNTIME_CHECK was used. PiperOrigin-RevId: 421560396
Showing
with
59 additions
and
31 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment