提交 cafb91ea 编写于 作者: G guoshuyu

#2382

上级 4f7274b5
......@@ -75,6 +75,12 @@ public final class MeasureHelper {
mCurrentAspectRatio = GSYVideoType.getShowType();
if (mVideoHeight == 0 || mVideoWidth == 0) {
mMeasuredWidth = 1;
mMeasuredHeight = 1;
return;
}
if (mVideoRotationDegree == 90 || mVideoRotationDegree == 270) {
int tempSpec = widthMeasureSpec;
widthMeasureSpec = heightMeasureSpec;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册