diff options
author | Jeff Tinker <jtinker@google.com> | 2012-04-26 10:38:47 -0700 |
---|---|---|
committer | Jeff Tinker <jtinker@google.com> | 2012-04-26 15:46:07 -0700 |
commit | ed709d00ead015b8a0de50ebc410073f6a078fd5 (patch) | |
tree | b5a3bcd9093d55eaff2886443c985d7e8708e82a /media/libstagefright/WVMExtractor.cpp | |
parent | 0756aa99dffd5740d963fdda60699fdefe58ce85 (diff) | |
download | frameworks_av-ed709d00ead015b8a0de50ebc410073f6a078fd5.zip frameworks_av-ed709d00ead015b8a0de50ebc410073f6a078fd5.tar.gz frameworks_av-ed709d00ead015b8a0de50ebc410073f6a078fd5.tar.bz2 |
Expose an API to run the WV extractor in crypto plugin mode.
Provides compatibility with the MediaCodec model.
Change-Id: I76f2c7d1e9d2cfc3e76b531ac9b2cf66aa6a4327
related-to-bug: 5986621
Diffstat (limited to 'media/libstagefright/WVMExtractor.cpp')
-rw-r--r-- | media/libstagefright/WVMExtractor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media/libstagefright/WVMExtractor.cpp b/media/libstagefright/WVMExtractor.cpp index effe336..08d2ae2 100644 --- a/media/libstagefright/WVMExtractor.cpp +++ b/media/libstagefright/WVMExtractor.cpp @@ -127,6 +127,12 @@ void WVMExtractor::setAdaptiveStreamingMode(bool adaptive) { } } +void WVMExtractor::setCryptoPluginMode(bool cryptoPluginMode) { + if (mImpl != NULL) { + mImpl->setCryptoPluginMode(cryptoPluginMode); + } +} + void WVMExtractor::setUID(uid_t uid) { if (mImpl != NULL) { mImpl->setUID(uid); |