summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-03-07 02:38:23 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-07 02:38:23 +0000
commit72d09f6280cd701e48922a86df0d2e5f4e61cd8e (patch)
tree7b38385ed652c44f759557fd057e04b8ed579de1 /include
parentd7c4da3c1c33b5219d7d87ba698cd7d9c8750c41 (diff)
parent2613347d74c3f35bc6fda5df1c29c1119c22d432 (diff)
downloadframeworks_av-72d09f6280cd701e48922a86df0d2e5f4e61cd8e.zip
frameworks_av-72d09f6280cd701e48922a86df0d2e5f4e61cd8e.tar.gz
frameworks_av-72d09f6280cd701e48922a86df0d2e5f4e61cd8e.tar.bz2
am 2613347d: Merge "Added support to query ACodec whether adaptive playback is enabled." into klp-dev
* commit '2613347d74c3f35bc6fda5df1c29c1119c22d432': Added support to query ACodec whether adaptive playback is enabled.
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h3
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.