diff options
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.h')
-rw-r--r-- | media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.h b/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.h index d761b07..37b28c8 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.h +++ b/media/libmediaplayerservice/nuplayer/NuPlayerDecoderPassThrough.h @@ -56,6 +56,7 @@ private: sp<Source> mSource; sp<Renderer> mRenderer; int64_t mSkipRenderingUntilMediaTimeUs; + bool mPaused; int32_t mBufferGeneration; bool mReachedEOS; @@ -73,7 +74,7 @@ private: AString mComponentName; bool isStaleReply(const sp<AMessage> &msg); - bool isCacheFullOrEOS() const; + bool isDoneFetching() const; status_t dequeueAccessUnit(sp<ABuffer> *accessUnit); sp<ABuffer> aggregateBuffer(const sp<ABuffer> &accessUnit); |