Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88b54dab authored by Robert Shih's avatar Robert Shih Committed by android-build-merger
Browse files

Merge "HLS: remove EOS notification for live streams" into nyc-dev

am: 09363972

* commit '09363972':
  HLS: remove EOS notification for live streams

Change-Id: Ia5d6285115598d61599312d655a9d588498c15b0
parents b9987ad0 09363972
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1092,6 +1092,13 @@ bool PlaylistFetcher::initDownloadState(
            // fall through
        } else {
            if (mPlaylist != NULL) {
                if (mSeqNumber >= firstSeqNumberInPlaylist + (int32_t)mPlaylist->size()
                        && !mPlaylist->isComplete()) {
                    // Live playlists
                    ALOGW("sequence number %d not yet available", mSeqNumber);
                    postMonitorQueue(delayUsToRefreshPlaylist());
                    return false;
                }
                ALOGE("Cannot find sequence number %d in playlist "
                     "(contains %d - %d)",
                     mSeqNumber, firstSeqNumberInPlaylist,