diff options
author | Lajos Molnar <lajos@google.com> | 2014-03-07 02:41:38 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-07 02:41:38 +0000 |
commit | 7e65e101bd48461e274fd2e927b80fbbd8b71744 (patch) | |
tree | 9695a4b9ff2f68c02e920904f8fde3a72a49c7e4 /include | |
parent | d1d45fe7779e10e381420c63de79001c8593423b (diff) | |
parent | 72d09f6280cd701e48922a86df0d2e5f4e61cd8e (diff) | |
download | frameworks_av-7e65e101bd48461e274fd2e927b80fbbd8b71744.zip frameworks_av-7e65e101bd48461e274fd2e927b80fbbd8b71744.tar.gz frameworks_av-7e65e101bd48461e274fd2e927b80fbbd8b71744.tar.bz2 |
am 72d09f62: am 2613347d: Merge "Added support to query ACodec whether adaptive playback is enabled." into klp-dev
* commit '72d09f6280cd701e48922a86df0d2e5f4e61cd8e':
Added support to query ACodec whether adaptive playback is enabled.
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/ACodec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index f1636e6..f90fc4a 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -67,6 +67,8 @@ struct ACodec : public AHierarchicalStateMachine { void signalRequestIDRFrame(); + bool isConfiguredForAdaptivePlayback() { return mIsConfiguredForAdaptivePlayback; } + struct PortDescription : public RefBase { size_t countBuffers(); IOMX::buffer_id bufferIDAt(size_t index) const; @@ -187,6 +189,7 @@ private: bool mIsEncoder; bool mUseMetadataOnEncoderOutput; bool mShutdownInProgress; + bool mIsConfiguredForAdaptivePlayback; // If "mKeepComponentAllocated" we only transition back to Loaded state // and do not release the component instance. |