diff options
author | Andreas Huber <andih@google.com> | 2012-12-03 11:18:00 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-12-03 11:40:44 -0800 |
commit | 57a339cdb7524f883de3ceb364c0b5606df0c610 (patch) | |
tree | 1cd8ed123b560f94745940eeab4c5b0b9fa2a180 /media/libmediaplayerservice/nuplayer/NuPlayerDriver.h | |
parent | ece53e018b38794f7cdf978a605f943f9ec96c3b (diff) | |
download | frameworks_av-57a339cdb7524f883de3ceb364c0b5606df0c610.zip frameworks_av-57a339cdb7524f883de3ceb364c0b5606df0c610.tar.gz frameworks_av-57a339cdb7524f883de3ceb364c0b5606df0c610.tar.bz2 |
setVideoSurfaceTexture is now synchronous and applied dynamically
while playing.
Change-Id: If9f08659a01bdc7dac0999730368e9dfa5e58d36
related-to-bug: 5666482
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/NuPlayerDriver.h')
-rw-r--r-- | media/libmediaplayerservice/nuplayer/NuPlayerDriver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerDriver.h b/media/libmediaplayerservice/nuplayer/NuPlayerDriver.h index 4a0026c..d551bf1 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayerDriver.h +++ b/media/libmediaplayerservice/nuplayer/NuPlayerDriver.h @@ -62,6 +62,7 @@ struct NuPlayerDriver : public MediaPlayerInterface { virtual status_t dump(int fd, const Vector<String16> &args) const; void notifyResetComplete(); + void notifySetSurfaceComplete(); void notifyDuration(int64_t durationUs); void notifyPosition(int64_t positionUs); void notifySeekComplete(); @@ -78,6 +79,7 @@ private: // The following are protected through "mLock" // >>> bool mResetInProgress; + bool mSetSurfaceInProgress; int64_t mDurationUs; int64_t mPositionUs; int64_t mNumFramesTotal; |