We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 718335d commit 7101aecCopy full SHA for 7101aec
1 file changed
app/src/main/java/org/schabi/newpipe/views/ExpandableSurfaceView.java
@@ -100,7 +100,7 @@ public int getResizeMode() {
100
}
101
102
public void setAspectRatio(final float aspectRatio) {
103
- if (videoAspectRatio == aspectRatio) {
+ if (videoAspectRatio == aspectRatio || aspectRatio == 0 || !Float.isFinite(aspectRatio)) {
104
return;
105
106
0 commit comments