mirror of
https://github.com/samsonjs/media.git
synced 2026-04-20 13:45:47 +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.
|
||||
if (avoidPlaceholderDrmSessions
|
||||
|| Util.linearSearch(useDrmSessionsForClearContentTrackTypes, trackType) == C.INDEX_UNSET
|
||||
|| exoMediaDrm.getExoMediaCryptoType() == null) {
|
||||
|| UnsupportedMediaCrypto.class.equals(exoMediaDrm.getExoMediaCryptoType())) {
|
||||
return null;
|
||||
}
|
||||
if (placeholderDrmSession == null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue