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

Commit 0f9a3cf9 authored by Robert Shih's avatar Robert Shih
Browse files

PlaylistFetcher: do not reset mStartTimeUs if we are resuming

Bug: 17376049
Change-Id: Ie519bdf7128841172df41e6512d624e99d9853d6
parent acdae5d7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -490,11 +490,11 @@ status_t PlaylistFetcher::onStart(const sp<AMessage> &msg) {

    mStreamTypeMask = streamTypeMask;

    mStartTimeUs = startTimeUs;
    mSegmentStartTimeUs = segmentStartTimeUs;
    mDiscontinuitySeq = startDiscontinuitySeq;

    if (mStartTimeUs >= 0ll) {
    if (startTimeUs >= 0) {
        mStartTimeUs = startTimeUs;
        mSeqNumber = -1;
        mStartup = true;
        mPrepared = false;