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

Commit 919511a6 authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Always consider playlists corresponding to different bandwidths different."

parents e16b2955 86806f75
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -494,6 +494,12 @@ rinse_repeat:

        bool firstTime = (mPlaylist == NULL);

        if ((ssize_t)bandwidthIndex != mPrevBandwidthIndex) {
            // If we switch bandwidths, do not pay any heed to whether
            // playlists changed since the last time...
            mPlaylist.clear();
        }

        bool unchanged;
        sp<M3UParser> playlist = fetchPlaylist(url.c_str(), &unchanged);
        if (playlist == NULL) {