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

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

Merge "update scale mode to MediaCodec under NuPlayer::instantiateDecoder"...

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

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2827233



Change-Id: Iff5fd75df2d6cebccbc10e80d06a951e022a59d6
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1ca73779 2e5ab590
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);