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

Commit 6bfb6843 authored by Toni Heidenreich's avatar Toni Heidenreich Committed by Gerrit Code Review
Browse files

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

parents bb21f5e8 3adcd6dd
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);