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

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

Merge "HLS: clear ATSParser fully on explicit discontinuity" into nyc-dev

parents 9c1b2468 a722375a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1184,8 +1184,7 @@ bool PlaylistFetcher::initDownloadState(
        // Signal a format discontinuity to ATSParser to clear partial data
        // from previous streams. Not doing this causes bitstream corruption.
        if (mTSParser != NULL) {
            mTSParser->signalDiscontinuity(
                    ATSParser::DISCONTINUITY_FORMATCHANGE, NULL /* extra */);
            mTSParser.clear();
        }

        queueDiscontinuity(