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

Commit 42cf4c39 authored by Wei Jia's avatar Wei Jia Committed by Gerrit Code Review
Browse files

Merge "Using requested video scaling mode in NuPlayer"

parents fbd40d66 26936f7b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -949,6 +949,7 @@ void NuPlayer::onMessageReceived(const sp<AMessage> &msg) {
                sp<AMessage> inputFormat =
                        mSource->getFormat(false /* audio */);

                setVideoScalingMode(mVideoScalingMode);
                updateVideoSize(inputFormat, format);
            } else if (what == DecoderBase::kWhatShutdownCompleted) {
                ALOGV("%s shutdown completed", audio ? "audio" : "video");