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

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

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

am: 7d1daf4f

* commit '7d1daf4f':
  HLS: clear ATSParser fully on explicit discontinuity

Change-Id: I4a7850c3471f1c8cd2f735b5c589a798105e5073
parents e627f748 7d1daf4f
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(