removing a redundant call

This commit is contained in:
tibbi 2019-01-14 21:13:36 +01:00
parent 7dfafd7aa6
commit 6c019c8edc
2 changed files with 2 additions and 2 deletions

View File

@ -808,7 +808,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
}
mRight = width * mSaveScale - width
mBottom = video_surface.height * mSaveScale - height
mBottom = height * mSaveScale - height
if (0 <= width || 0 <= height) {
mMatrix.postScale(scaleFactor, scaleFactor, detector.focusX, detector.focusY)
if (scaleFactor < 1) {

View File

@ -792,7 +792,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
}
mRight = width * mSaveScale - width
mBottom = mTextureView.height * mSaveScale - height
mBottom = height * mSaveScale - height
if (0 <= width || 0 <= height) {
mMatrix.postScale(scaleFactor, scaleFactor, detector.focusX, detector.focusY)
if (scaleFactor < 1) {