summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/httplive/LiveSession.h
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2014-09-19 14:52:30 -0700
committerRobert Shih <robertshih@google.com>2014-09-19 15:53:56 -0700
commitb44ce2f84691559672cfaf6bb8fd3a9ac43904f2 (patch)
tree6831d1a839c6cc6b22b1868341c1068b9ebe87ba /media/libstagefright/httplive/LiveSession.h
parentb0ed4e3e482cbdc2fa6c7853526597f4ae3f0972 (diff)
downloadframeworks_av-b44ce2f84691559672cfaf6bb8fd3a9ac43904f2.zip
frameworks_av-b44ce2f84691559672cfaf6bb8fd3a9ac43904f2.tar.gz
frameworks_av-b44ce2f84691559672cfaf6bb8fd3a9ac43904f2.tar.bz2
NuPlayer HLS: better subtitle toggling
Bug: 17310061 Change-Id: Iacee1816285425aaad08c32b28591bb0162d5a85
Diffstat (limited to 'media/libstagefright/httplive/LiveSession.h')
-rw-r--r--media/libstagefright/httplive/LiveSession.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/httplive/LiveSession.h b/media/libstagefright/httplive/LiveSession.h
index 6be86cf..7aacca6 100644
--- a/media/libstagefright/httplive/LiveSession.h
+++ b/media/libstagefright/httplive/LiveSession.h
@@ -189,6 +189,7 @@ private:
int32_t mCheckBandwidthGeneration;
int32_t mSwitchGeneration;
+ int32_t mSubtitleGeneration;
size_t mContinuationCounter;
sp<AMessage> mContinuation;
@@ -240,6 +241,7 @@ private:
const char *url, uint8_t *curPlaylistHash, bool *unchanged);
size_t getBandwidthIndex();
+ int64_t latestMediaSegmentStartTimeUs();
static int SortByBandwidth(const BandwidthItem *, const BandwidthItem *);
static StreamType indexToType(int idx);