removing a redundant call
This commit is contained in:
parent
7dfafd7aa6
commit
6c019c8edc
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue