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

Commit 86806f75 authored by Andreas Huber's avatar Andreas Huber
Browse files

Always consider playlists corresponding to different bandwidths different.

Change-Id: I07bb3023af5046db93b4f8785eb90c6a4fb15b95
parent bd8fbfa9
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) {