summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer/NuPlayer.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-11-28 12:36:11 -0800
committerAndreas Huber <andih@google.com>2011-11-28 16:45:13 -0800
commit6e3d311b6631b12aac2879d1b08c3534aece78b1 (patch)
tree001b5d677ee599a4d6f8d1ba636fbf4e5f0c6a4e /media/libmediaplayerservice/nuplayer/NuPlayer.h
parent7cafbb32999049873d4746ba83bd20c88abe6ce6 (diff)
downloadframeworks_av-6e3d311b6631b12aac2879d1b08c3534aece78b1.zip
frameworks_av-6e3d311b6631b12aac2879d1b08c3534aece78b1.tar.gz
frameworks_av-6e3d311b6631b12aac2879d1b08c3534aece78b1.tar.bz2
Finer granularity discontinuity support.
No clients can signal a format change on either audio or video track (or both) and a time discontinuity (timestamps changed) independantly. Change-Id: I3e6cf4e7c260e85759879d61a9b517f68431c22f related-to-bug: 5553055
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/NuPlayer.h')
-rw-r--r--media/libmediaplayerservice/nuplayer/NuPlayer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayer.h b/media/libmediaplayerservice/nuplayer/NuPlayer.h
index f23deea..ffc710e 100644
--- a/media/libmediaplayerservice/nuplayer/NuPlayer.h
+++ b/media/libmediaplayerservice/nuplayer/NuPlayer.h
@@ -112,6 +112,10 @@ private:
SHUT_DOWN,
};
+ // Once the current flush is complete this indicates whether the
+ // notion of time has changed.
+ bool mTimeDiscontinuityPending;
+
FlushStatus mFlushingAudio;
FlushStatus mFlushingVideo;
bool mResetInProgress;