Skip to content

Commit 279d024

Browse files
Merge pull request #654 from rdkcentral/feature/VPLAY-11530_2.7.1_8_2_drm
Feature/vplay 11530 2.7.1 8 2 drm
2 parents b1eaadc + 37c062f commit 279d024

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

drm/AampDRMLicManager.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,10 +1395,10 @@ void AampDRMLicenseManager::clearDrmSession(bool forceClearSession)
13951395
mDrmSessionManager->clearDrmSession(forceClearSession);
13961396
for(int i = 0 ; i < mMaxDRMSessions;i++)
13971397
{
1398-
bool isFailedKeyId = mDRMSessionManager->getFailedKeyIdStatus(i);
1399-
if(( mDRMSessionManager->drmSessionContexts != NULL && (isFailedKeyId || forceClearSession) ))
1398+
bool isFailedKeyId = mDrmSessionManager->getFailedKeyIdStatus(i);
1399+
if(( mDrmSessionManager->drmSessionContexts != NULL && (isFailedKeyId || forceClearSession) ))
14001400
{
1401-
if(mDRMSessionManager->drmSessionContexts[i].drmSession != NULL)
1401+
if(mDrmSessionManager->drmSessionContexts[i].drmSession != NULL)
14021402
{
14031403
AAMPLOG_INFO("Clearing Session %d, isFailedKeyId=%d, forceClearSession=%d",i, isFailedKeyId, forceClearSession);
14041404
mLicenseDownloader[i].Clear();

middleware/drm/DrmSessionManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void DrmSessionManager::clearAccessToken()
172172
*/
173173
bool DrmSessionManager::getFailedKeyIdStatus(int sessionIndex)
174174
{
175-
if (sessionIndex >= 0 && sessionIndex < mMaxDrmSessions && cachedKeyIDs)
175+
if (sessionIndex >= 0 && sessionIndex < mMaxDRMSessions && cachedKeyIDs)
176176
{
177177
return cachedKeyIDs[sessionIndex].isFailedKeyId;
178178
}

0 commit comments

Comments
 (0)