Commit 7dc66c6d authored by Carola Nitz's avatar Carola Nitz

VLCPlaybackController: Add aspect ratio for crop fill for iPhone 4

(cherry picked from commit bf656395)
parent 8a0bad77
Pipeline #173 failed with stage
in 0 seconds
......@@ -759,6 +759,8 @@ VLCMediaDelegate>
_mediaPlayer.videoAspectRatio = "4:3";
} else if (f_ar == .5625) {// AirPlay
_mediaPlayer.videoAspectRatio = "16:9";
} else if (f_ar == 1.5) { //iPhone 4
_mediaPlayer.videoAspectRatio = "3:2";
} else
APLog(@"unknown screen format %f, can't crop", f_ar);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment