mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Remove skip channelCount check for ENCODING_DTS
This commit is contained in:
parent
6823a2916a
commit
c0e03f14a8
@ -214,8 +214,7 @@ public final class AudioCapabilities {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
int channelCount;
|
int channelCount;
|
||||||
if (format.channelCount == Format.NO_VALUE || encoding == C.ENCODING_E_AC3_JOC
|
if (format.channelCount == Format.NO_VALUE || encoding == C.ENCODING_E_AC3_JOC) {
|
||||||
|| encoding == C.ENCODING_DTS) {
|
|
||||||
// In HLS chunkless preparation, the format channel count and sample rate may be unset. See
|
// In HLS chunkless preparation, the format channel count and sample rate may be unset. See
|
||||||
// https://github.com/google/ExoPlayer/issues/10204 and b/222127949 for more details.
|
// https://github.com/google/ExoPlayer/issues/10204 and b/222127949 for more details.
|
||||||
// For E-AC3 JOC, the format is object based so the format channel count is arbitrary.
|
// For E-AC3 JOC, the format is object based so the format channel count is arbitrary.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user