소스 검색

playback: fix 'crop to fill screen' on iPad (closes #14575)

(cherry picked from commit f115f2f87bf4f3e2ec14e3fb68fc3246a86f44fa)
Felix Paul Kühne 10 년 전
부모
커밋
97428cd19f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Sources/VLCPlaybackController.m

+ 1 - 1
Sources/VLCPlaybackController.m

@@ -560,7 +560,7 @@
                 _mediaPlayer.videoCropGeometry = "16:9";
             else if (f_ar == (float)(2./3.)) // all other iPhones
                 _mediaPlayer.videoCropGeometry = "16:10"; // libvlc doesn't support 2:3 crop
-            else if (f_ar == .75) // all iPads
+            else if (f_ar == (float)(1. + (1./3.))) // all iPads
                 _mediaPlayer.videoCropGeometry = "4:3";
             else if (f_ar == .5625) // AirPlay
                 _mediaPlayer.videoCropGeometry = "16:9";