aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Pfau <pfau@peak3d.de>2020-05-31 10:15:50 +0200
committerGitHub <noreply@github.com>2020-05-31 10:15:50 +0200
commit9d9894e3367ccf7431111beb628ee658fea66b2c (patch)
treee136beac25410c5f04e01baa2482a9ce941ebf65
parente506cad57a68ce4e296a939e9a8c3875ebc1cb41 (diff)
parentc4cd7256361301e55b2a85462181a3f7df3194ee (diff)
Merge pull request #17970 from peak3d/leia_noscale
[Backport][Android] Remove VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING
-rw-r--r--xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp
index befbe62197..362782f500 100644
--- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp
+++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp
@@ -1193,8 +1193,6 @@ bool CDVDVideoCodecAndroidMediaCodec::ConfigureMediaCodec(void)
CLog::Log(LOGERROR, "CDVDVideoCodecAndroidMediaCodec configure error");
return false;
}
- m_codec->setVideoScalingMode(CJNIMediaCodec::VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING);
-
m_state = MEDIACODEC_STATE_CONFIGURED;
m_codec->start();