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

Commit 296a0d03 authored by Robert Shih's avatar Robert Shih Committed by Android (Google) Code Review
Browse files

Merge "PlaylistFetcher: clear packet sources when adjusting starting sequence...

Merge "PlaylistFetcher: clear packet sources when adjusting starting sequence number" into lmp-mr1-dev
parents 678bcdc8 dae1e733
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -977,6 +977,10 @@ void PlaylistFetcher::onDownloadNext() {
        if (err == -EAGAIN) {
            // starting sequence number too low/high
            mTSParser.clear();
            for (size_t i = 0; i < mPacketSources.size(); i++) {
                sp<AnotherPacketSource> packetSource = mPacketSources.valueAt(i);
                packetSource->clear();
            }
            postMonitorQueue();
            return;
        } else if (err == ERROR_OUT_OF_RANGE) {