parent
1360548649
commit
1d61c48266
@ -93,8 +93,6 @@
|
||||
([#710](https://github.com/androidx/media/pull/710)).
|
||||
* MIDI: Fix issue where seeking forward skips the Program Change events
|
||||
([#704](https://github.com/androidx/media/issues/704).
|
||||
* Handle unsupported format `xHE-AAC` in `FfmpegAudioRenderer`
|
||||
([#803](https://github.com/androidx/media/issues/803)).
|
||||
* Leanback extension:
|
||||
* Cast Extension:
|
||||
* Sanitize creation of a `Timeline` to not crash the app when loading
|
||||
|
@ -97,9 +97,7 @@ public final class FfmpegAudioRenderer extends DecoderAudioRenderer<FfmpegAudioD
|
||||
return C.FORMAT_UNSUPPORTED_TYPE;
|
||||
} else if (!FfmpegLibrary.supportsFormat(mimeType)
|
||||
|| (!sinkSupportsFormat(format, C.ENCODING_PCM_16BIT)
|
||||
&& !sinkSupportsFormat(format, C.ENCODING_PCM_FLOAT))
|
||||
|| (mimeType.equals(MimeTypes.AUDIO_AAC)
|
||||
&& MimeTypes.getEncoding(mimeType, format.codecs) == C.ENCODING_AAC_XHE)) {
|
||||
&& !sinkSupportsFormat(format, C.ENCODING_PCM_FLOAT))) {
|
||||
return C.FORMAT_UNSUPPORTED_SUBTYPE;
|
||||
} else if (format.cryptoType != C.CRYPTO_TYPE_NONE) {
|
||||
return C.FORMAT_UNSUPPORTED_DRM;
|
||||
|
Loading…
x
Reference in New Issue
Block a user