Commit bf656395 authored by Carola Nitz's avatar Carola Nitz

VLCPlaybackController: Add aspect ratio for crop fill for iPhone 4

parent 1405cfc6
Pipeline #172 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