summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-04-12 01:03:51 -0700
committerChong Zhang <chz@google.com>2015-04-17 14:26:32 -0700
commit978449984366946a2e5c9f7cf350746f4306caf8 (patch)
tree21d406ec763c97554a5db234b49807ecb7a659b2 /include
parent2170233c49e50f3986cdc4f726016d6003cb5b8e (diff)
downloadframeworks_av-978449984366946a2e5c9f7cf350746f4306caf8.zip
frameworks_av-978449984366946a2e5c9f7cf350746f4306caf8.tar.gz
frameworks_av-978449984366946a2e5c9f7cf350746f4306caf8.tar.bz2
HLS: reduce number of guessed wrong seq numbers
- account for playlist age in live streaming when calculating segment time - be more conservative on downswitching if bandwidth is unstable - adjust forward or backward if guessed wrong seq number - code refactor bug: 19567254 Change-Id: I0b61cea888fdffd1b3ee2446747ed10152e9e7d7
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/Utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/Utils.h b/include/media/stagefright/Utils.h
index ec3a10e..f17ee88 100644
--- a/include/media/stagefright/Utils.h
+++ b/include/media/stagefright/Utils.h
@@ -71,7 +71,7 @@ struct HLSTime {
sp<AMessage> mMeta;
HLSTime(const sp<AMessage> &meta = NULL);
- int64_t getSegmentTimeUs(bool midpoint = false) const;
+ int64_t getSegmentTimeUs() const;
};
bool operator <(const HLSTime &t0, const HLSTime &t1);