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

Commit b888dbdf 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: Ic6c90ff22554e029eed3e5829d789f8172b3b303
parents 1c3f5121 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();