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

Commit 283e031d authored by Andreas Huber's avatar Andreas Huber
Browse files

Always revert to the previous bandwidth if the required sequence number cannot be found

Change-Id: I098dba37f4a70fc703c9ce65346907c3e10f27f6
parent 0cf2616f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -438,8 +438,7 @@ rinse_repeat:

    if (mSeqNumber < firstSeqNumberInPlaylist
            || mSeqNumber > lastSeqNumberInPlaylist) {
        if (mSeqNumber < firstSeqNumberInPlaylist
                && mPrevBandwidthIndex != (ssize_t)bandwidthIndex) {
        if (mPrevBandwidthIndex != (ssize_t)bandwidthIndex) {
            // Go back to the previous bandwidth.

            LOGI("new bandwidth does not have the sequence number "