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

Commit f8f2f89c authored by Bartosz Dolewski's avatar Bartosz Dolewski Committed by android-build-merger
Browse files

Merge \"Using requested video scaling mode in NuPlayer\"

am: 42cf4c39

Change-Id: I3fa1f06ba5a492019371e43dd08f38ffa24aafca
parents dbcce362 42cf4c39
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");