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

Commit 2e5ab590 authored by Toni Heidenreich's avatar Toni Heidenreich Committed by Automerger Merge Worker
Browse files

Merge "update scale mode to MediaCodec under NuPlayer::instantiateDecoder" into main am: 6bfb6843

parents b5b4071c 6bfb6843
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1977,6 +1977,8 @@ status_t NuPlayer::instantiateDecoder(
        if (rate > 0) {
            format->setFloat("operating-rate", rate * mPlaybackSettings.mSpeed);
        }

        format->setInt32("android._video-scaling", mVideoScalingMode);
    }

    Mutex::Autolock autoLock(mDecoderLock);