aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Liang <dan.liang@intel.com>2014-03-06 17:29:54 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:03:43 -0700
commitb7e8facd37fe0d46e8f6ff6527e4f2c4f90565ca (patch)
tree75b611b192a40c5c67ace3e6f4532347a5f662f9
parent86c08d74951f4c563b1343c5b1735742fc734372 (diff)
downloadwrs_omxil_core-b7e8facd37fe0d46e8f6ff6527e4f2c4f90565ca.tar.gz
wrs-omxil-core: adjust the data structure for adaptive playback
BZ: 177230 Move member variable mEnableAdaptivePlayback from private to public so that the derived class could use it. Change-Id: Id134f42b2246ce68f6804aed86b8435ace9a9693 Signed-off-by: Dan Liang <dan.liang@intel.com>
-rw-r--r--base/inc/componentbase.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/base/inc/componentbase.h b/base/inc/componentbase.h
index 2ba98d7..3619640 100644
--- a/base/inc/componentbase.h
+++ b/base/inc/componentbase.h
@@ -289,7 +289,8 @@ protected:
/* ports big lock, must be held when accessing all ports at one time */
pthread_mutex_t ports_block;
-
+ /* adaptive playback param */
+ OMX_BOOL mEnableAdaptivePlayback;
private:
/* common routines for constructor */
void __ComponentBase(void);
@@ -435,8 +436,6 @@ private:
/* state lock */
pthread_mutex_t state_block;
- /* adaptive playback param */
- OMX_BOOL mEnableAdaptivePlayback;
OMX_U32 mMaxFrameWidth;
OMX_U32 mMaxFrameHeight;