mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
parent
1360548649
commit
1d61c48266
@ -93,8 +93,6 @@
|
|||||||
([#710](https://github.com/androidx/media/pull/710)).
|
([#710](https://github.com/androidx/media/pull/710)).
|
||||||
* MIDI: Fix issue where seeking forward skips the Program Change events
|
* MIDI: Fix issue where seeking forward skips the Program Change events
|
||||||
([#704](https://github.com/androidx/media/issues/704).
|
([#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:
|
* Leanback extension:
|
||||||
* Cast Extension:
|
* Cast Extension:
|
||||||
* Sanitize creation of a `Timeline` to not crash the app when loading
|
* 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;
|
return C.FORMAT_UNSUPPORTED_TYPE;
|
||||||
} else if (!FfmpegLibrary.supportsFormat(mimeType)
|
} else if (!FfmpegLibrary.supportsFormat(mimeType)
|
||||||
|| (!sinkSupportsFormat(format, C.ENCODING_PCM_16BIT)
|
|| (!sinkSupportsFormat(format, C.ENCODING_PCM_16BIT)
|
||||||
&& !sinkSupportsFormat(format, C.ENCODING_PCM_FLOAT))
|
&& !sinkSupportsFormat(format, C.ENCODING_PCM_FLOAT))) {
|
||||||
|| (mimeType.equals(MimeTypes.AUDIO_AAC)
|
|
||||||
&& MimeTypes.getEncoding(mimeType, format.codecs) == C.ENCODING_AAC_XHE)) {
|
|
||||||
return C.FORMAT_UNSUPPORTED_SUBTYPE;
|
return C.FORMAT_UNSUPPORTED_SUBTYPE;
|
||||||
} else if (format.cryptoType != C.CRYPTO_TYPE_NONE) {
|
} else if (format.cryptoType != C.CRYPTO_TYPE_NONE) {
|
||||||
return C.FORMAT_UNSUPPORTED_DRM;
|
return C.FORMAT_UNSUPPORTED_DRM;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user