Fix indent and respect previous rate

This commit is contained in:
Daniel Mariño Ruiz 2019-09-22 07:40:53 +02:00 committed by GitHub
parent 461209f344
commit ed335f3b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -870,7 +870,7 @@ static int const RCTVideoUnset = -1;
}
if (@available(iOS 10.0, *) && !_automaticallyWaitsToMinimizeStalling) {
[_player playImmediatelyAtRate:1.0];
[_player playImmediatelyAtRate:_rate];
} else {
[_player play];
[_player setRate:_rate];