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

Commit bfc9d5e5 authored by Wei Jia's avatar Wei Jia Committed by android-build-merger
Browse files

Merge \\"Using requested video scaling mode in NuPlayer\\" am: 42cf4c39

am: f8f2f89c

Change-Id: I3c00f5086d3292aeb0a491f43623a1f38247efd7
parents 0d088ded f8f2f89c
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");