Set player rate on main thread
This commit is contained in:
parent
bcecb6ed81
commit
c985957dd5
@ -375,7 +375,9 @@ static NSString *const statusKeyPath = @"status";
|
||||
[self setResizeMode:_resizeMode];
|
||||
[self setRepeat:_repeat];
|
||||
[self setPaused:_paused];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[_player setRate:_rate];
|
||||
});
|
||||
}
|
||||
|
||||
- (void)setRepeat:(BOOL)repeat {
|
||||
|
Loading…
Reference in New Issue
Block a user