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

Commit 17c5c42f authored by Yuxiu Zhang's avatar Yuxiu Zhang Committed by android-build-merger
Browse files

Http streaming cannot play video whose duration is less than 5s

am: 6efc14fa

Change-Id: Idf8512c88fe9bd60a45fc5b41bce71d42d31dbe9
parents e30c6c00 6efc14fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1578,7 +1578,7 @@ void NuPlayer::GenericSource::onPollBuffering() {
        }

        if (mPreparing) {
            notifyPreparedAndCleanup(finalStatus);
            notifyPreparedAndCleanup(finalStatus == ERROR_END_OF_STREAM ? OK : finalStatus);
            mPreparing = false;
        } else if (mSentPauseOnBuffering) {
            sendCacheStats();