commit | 7bfd9afefabd45d76e0cecb4f5c400958c867113 | [log] [tgz] |
---|---|---|
author | Wei Jia <wjia@google.com> | Wed Oct 21 16:00:44 2015 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Oct 21 16:00:44 2015 +0000 |
tree | 95521ace1df2f45bbb89101f93e768fc193d21a3 | |
parent | bbe22fe075e7bbcec279ccb4c85f49ee00f7043b [diff] | |
parent | b41fd0d4929f0a89811bafcc4fd944b128f00ce2 [diff] |
Merge "GenericSource: reset mDrmManagerClient when mDataSource is cleared." into mnc-dr-dev
diff --git a/media/libmediaplayerservice/nuplayer/GenericSource.cpp b/media/libmediaplayerservice/nuplayer/GenericSource.cpp index b3eb5fd..42fcb5b 100644 --- a/media/libmediaplayerservice/nuplayer/GenericSource.cpp +++ b/media/libmediaplayerservice/nuplayer/GenericSource.cpp
@@ -474,6 +474,7 @@ { Mutex::Autolock _l(mDisconnectLock); mDataSource.clear(); + mDrmManagerClient = NULL; mCachedSource.clear(); mHttpSource.clear(); }