|
@@ -257,7 +257,7 @@ NSString *const VLCPlaybackServicePlaybackPositionUpdated = @"VLCPlaybackService
|
|
|
|
|
|
_currentAspectRatio = VLCAspectRatioDefault;
|
|
|
_mediaPlayer.videoAspectRatio = NULL;
|
|
|
- _mediaPlayer.videoCropGeometry = NULL;
|
|
|
+ [_mediaPlayer setCropRatioWithNumerator:0 denominator:0];
|
|
|
|
|
|
[[self remoteControlService] subscribeToRemoteCommands];
|
|
|
|
|
@@ -859,7 +859,7 @@ NSString *const VLCPlaybackServicePlaybackPositionUpdated = @"VLCPlaybackService
|
|
|
case VLCAspectRatioDefault:
|
|
|
_mediaPlayer.scaleFactor = 0;
|
|
|
_mediaPlayer.videoAspectRatio = NULL;
|
|
|
- _mediaPlayer.videoCropGeometry = NULL;
|
|
|
+ [_mediaPlayer setCropRatioWithNumerator:0 denominator:0];
|
|
|
break;
|
|
|
case VLCAspectRatioFillToScreen:
|
|
|
// Reset aspect ratio only with aspectRatio button since we want to keep
|
|
@@ -871,7 +871,7 @@ NSString *const VLCPlaybackServicePlaybackPositionUpdated = @"VLCPlaybackService
|
|
|
case VLCAspectRatioSixteenToTen:
|
|
|
case VLCAspectRatioSixteenToNine:
|
|
|
_mediaPlayer.scaleFactor = 0;
|
|
|
- _mediaPlayer.videoCropGeometry = NULL;
|
|
|
+ [_mediaPlayer setCropRatioWithNumerator:0 denominator:0];
|
|
|
_mediaPlayer.videoAspectRatio = (char *)[[self stringForAspectRatio:_currentAspectRatio] UTF8String];
|
|
|
}
|
|
|
|