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

Commit 85eb70d6 authored by Wei Jia's avatar Wei Jia Committed by Android (Google) Code Review
Browse files

Merge "Using requested video scaling mode in NuPlayer" into nyc-mr1-dev

parents 2dd12498 e5d45332
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1005,6 +1005,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");