diff options
author | Robert Shih <robertshih@google.com> | 2014-09-11 22:50:40 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-11 22:50:41 +0000 |
commit | 5ea3378d49285aaf39a544bcda7a98e331ad370a (patch) | |
tree | f0d6296dae1986f48e3c5b0fe0e9fcc0066dd6d5 /media | |
parent | 84f5278a36f2816cc38f64307b4a1ad8a6818507 (diff) | |
parent | 0e2c09d56bb1d7d33b0de2f446fe0cf2d5b59fcb (diff) | |
download | frameworks_av-5ea3378d49285aaf39a544bcda7a98e331ad370a.zip frameworks_av-5ea3378d49285aaf39a544bcda7a98e331ad370a.tar.gz frameworks_av-5ea3378d49285aaf39a544bcda7a98e331ad370a.tar.bz2 |
Merge "PlaylistFetcher: avoid repeated fetch when we run off the edge of live playlists" into lmp-dev
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/httplive/PlaylistFetcher.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/media/libstagefright/httplive/PlaylistFetcher.cpp b/media/libstagefright/httplive/PlaylistFetcher.cpp index 82a4c39..3ef0f06 100644 --- a/media/libstagefright/httplive/PlaylistFetcher.cpp +++ b/media/libstagefright/httplive/PlaylistFetcher.cpp @@ -737,12 +737,6 @@ void PlaylistFetcher::onDownloadNext() { const int32_t lastSeqNumberInPlaylist = firstSeqNumberInPlaylist + (int32_t)mPlaylist->size() - 1; - if (mStartup && mSeqNumber >= 0 - && (mSeqNumber < firstSeqNumberInPlaylist || mSeqNumber > lastSeqNumberInPlaylist)) { - // in case we guessed wrong during reconfiguration, try fetching the latest content. - mSeqNumber = lastSeqNumberInPlaylist; - } - if (mDiscontinuitySeq < 0) { mDiscontinuitySeq = mPlaylist->getDiscontinuitySeq(); } |