diff options
author | Robert Shih <robertshih@google.com> | 2014-01-23 15:26:43 -0800 |
---|---|---|
committer | Robert Shih <robertshih@google.com> | 2014-01-29 15:56:16 -0800 |
commit | 75832930a28fd70f6fc683ed966477ceea810668 (patch) | |
tree | 2d59d3047df586cf508c1b0ab200102506956c1c /include | |
parent | 625b93f1971039a547b239f87a2dc8a8d5716589 (diff) | |
download | frameworks_av-75832930a28fd70f6fc683ed966477ceea810668.zip frameworks_av-75832930a28fd70f6fc683ed966477ceea810668.tar.gz frameworks_av-75832930a28fd70f6fc683ed966477ceea810668.tar.bz2 |
Added support to query ACodec whether adaptive playback is enabled.
Change-Id: I6b0308aa8550c643706959277e46dad586c37297
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. |