diff options
author | James Dong <jdong@google.com> | 2011-03-25 08:41:57 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-03-25 08:41:57 -0700 |
commit | 3318523222e31fb4a7fcc345ddb4ec845d30ef96 (patch) | |
tree | 0ff0de9c7c1d7cedfe10a02cf13e5d08b0270b66 /media/libstagefright | |
parent | 07d0220bcc9036bcbe36819912559267d9c1c538 (diff) | |
download | frameworks_av-3318523222e31fb4a7fcc345ddb4ec845d30ef96.zip frameworks_av-3318523222e31fb4a7fcc345ddb4ec845d30ef96.tar.gz frameworks_av-3318523222e31fb4a7fcc345ddb4ec845d30ef96.tar.bz2 |
Switch to use SF cached source
bug - 3500025
Change-Id: I96c416d39af498f091d2d52f5923f556382a9c1f
Diffstat (limited to 'media/libstagefright')
-rw-r--r-- | media/libstagefright/AwesomePlayer.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp index bac1334..435a1b0 100644 --- a/media/libstagefright/AwesomePlayer.cpp +++ b/media/libstagefright/AwesomePlayer.cpp @@ -1734,12 +1734,7 @@ status_t AwesomePlayer::finishSetDataSource_l() { dataSource->getDrmInfo(&mDecryptHandle, &mDrmManagerClient); if (mDecryptHandle != NULL) { CHECK(mDrmManagerClient); - if (RightsStatus::RIGHTS_VALID == mDecryptHandle->status) { - if (DecryptApiType::WV_BASED == mDecryptHandle->decryptApiType) { - LOGD("Setting mCachedSource to NULL for WVM\n"); - mCachedSource.clear(); - } - } else { + if (RightsStatus::RIGHTS_VALID != mDecryptHandle->status) { notifyListener_l(MEDIA_ERROR, MEDIA_ERROR_UNKNOWN, ERROR_NO_LICENSE); } } |