mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix check in placeholder session acquisition
PiperOrigin-RevId: 327223824
This commit is contained in:
parent
41e6577dca
commit
79a846eb5e
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,7 @@ public class DefaultDrmSessionManager implements DrmSessionManager {
|
||||||
// Avoid attaching a session to sparse formats.
|
// Avoid attaching a session to sparse formats.
|
||||||
if (avoidPlaceholderDrmSessions
|
if (avoidPlaceholderDrmSessions
|
||||||
|| Util.linearSearch(useDrmSessionsForClearContentTrackTypes, trackType) == C.INDEX_UNSET
|
|| Util.linearSearch(useDrmSessionsForClearContentTrackTypes, trackType) == C.INDEX_UNSET
|
||||||
|| exoMediaDrm.getExoMediaCryptoType() == null) {
|
|| UnsupportedMediaCrypto.class.equals(exoMediaDrm.getExoMediaCryptoType())) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (placeholderDrmSession == null) {
|
if (placeholderDrmSession == null) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue