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

Commit d8b3747c authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "GenericSource: Aggregate fewer audio i/p buffer for http streaming"

parents ec86528a c6e64522
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1255,13 +1255,13 @@ void NuPlayer::GenericSource::readBuffer(
    switch (trackType) {
        case MEDIA_TRACK_TYPE_VIDEO:
            track = &mVideoTrack;
            if (mIsWidevine) {
            if (mIsWidevine || (mHttpSource != NULL)) {
                maxBuffers = 2;
            }
            break;
        case MEDIA_TRACK_TYPE_AUDIO:
            track = &mAudioTrack;
            if (mIsWidevine) {
            if (mIsWidevine || (mHttpSource != NULL)) {
                maxBuffers = 8;
            } else {
                maxBuffers = 64;