diff options
author | Chong Zhang <chz@google.com> | 2015-01-07 16:14:34 -0800 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2015-01-07 17:08:43 -0800 |
commit | 1713460104b86f6be3a5d9993d9ace864d889b2d (patch) | |
tree | 47be834572c94f418cd6d087e953a53a9d655127 /media/libmediaplayerservice/nuplayer/GenericSource.cpp | |
parent | 5db7897ddd32e3ec3ab45ecdb6f21b6265e7e14a (diff) | |
download | frameworks_av-1713460104b86f6be3a5d9993d9ace864d889b2d.zip frameworks_av-1713460104b86f6be3a5d9993d9ace864d889b2d.tar.gz frameworks_av-1713460104b86f6be3a5d9993d9ace864d889b2d.tar.bz2 |
mark any copyrighted content as protected to disable capture
bug: 18916274
Change-Id: I23f096b51433bf18a10dc5fe6dc6b75c3881c340
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/GenericSource.cpp')
-rw-r--r-- | media/libmediaplayerservice/nuplayer/GenericSource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/nuplayer/GenericSource.cpp b/media/libmediaplayerservice/nuplayer/GenericSource.cpp index dd79b50..76b80bb 100644 --- a/media/libmediaplayerservice/nuplayer/GenericSource.cpp +++ b/media/libmediaplayerservice/nuplayer/GenericSource.cpp @@ -391,6 +391,7 @@ void NuPlayer::GenericSource::onPrepareAsync() { notifyFlagsChanged( (mIsSecure ? FLAG_SECURE : 0) + | (mDecryptHandle != NULL ? FLAG_PROTECTED : 0) | FLAG_CAN_PAUSE | FLAG_CAN_SEEK_BACKWARD | FLAG_CAN_SEEK_FORWARD |