summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/lvpp/PreviewPlayer.h
diff options
context:
space:
mode:
authorRaghavender Palla <rpalla@google.com>2011-03-18 22:32:51 -0700
committerRaghavender Palla <rpalla@google.com>2011-03-21 21:59:15 -0700
commitfa31daff175709d2c58d61d1354daa9495696631 (patch)
treee1154f7b3d9a1af38571eb655f5373dd2de4329d /libvideoeditor/lvpp/PreviewPlayer.h
parentebf40154a222c864a0aaf807702fc4eb6b9cf40f (diff)
downloadframeworks_av-fa31daff175709d2c58d61d1354daa9495696631.zip
frameworks_av-fa31daff175709d2c58d61d1354daa9495696631.tar.gz
frameworks_av-fa31daff175709d2c58d61d1354daa9495696631.tar.bz2
Fix for the issue: TestPreviewWithTransition fails (4133108)
Change-Id: I53eb798f4f86e83f8a4668c7256241367c1ccbe4
Diffstat (limited to 'libvideoeditor/lvpp/PreviewPlayer.h')
-rwxr-xr-x[-rw-r--r--]libvideoeditor/lvpp/PreviewPlayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvideoeditor/lvpp/PreviewPlayer.h b/libvideoeditor/lvpp/PreviewPlayer.h
index 0800115..b3a32bc 100644..100755
--- a/libvideoeditor/lvpp/PreviewPlayer.h
+++ b/libvideoeditor/lvpp/PreviewPlayer.h
@@ -68,6 +68,8 @@ struct PreviewPlayer : public AwesomePlayer {
status_t suspend();
status_t resume();
+ void acquireLock();
+ void releaseLock();
status_t prepare();
status_t setDataSource(
@@ -202,6 +204,7 @@ private:
bool mIsFiftiesEffectStarted;
int64_t mImageFrameTimeUs;
bool mStartNextPlayer;
+ mutable Mutex mLockControl;
M4VIFI_UInt8* mFrameRGBBuffer;
M4VIFI_UInt8* mFrameYUVBuffer;