Merge pull request #2395 from zetlanddk/apply-modifiers-before-starting
Make sure modifiers are applied before playing
This commit is contained in:
commit
60d0968514
@ -383,6 +383,7 @@ static int const RCTVideoUnset = -1;
|
||||
}
|
||||
|
||||
self->_player = [AVPlayer playerWithPlayerItem:self->_playerItem];
|
||||
[self applyModifiers];
|
||||
self->_player.actionAtItemEnd = AVPlayerActionAtItemEndNone;
|
||||
|
||||
[self->_player addObserver:self forKeyPath:playbackRate options:0 context:nil];
|
||||
|
Loading…
Reference in New Issue
Block a user