Add playbackRateObserverRegistered bool property
This commit is contained in:
parent
ad29d3ea9f
commit
5506805aac
@ -22,6 +22,7 @@ static NSString *const playbackRate = @"rate";
|
||||
|
||||
/* Required to publish events */
|
||||
RCTEventDispatcher *_eventDispatcher;
|
||||
BOOL _playbackRateObserverRegistered;
|
||||
|
||||
bool _pendingSeek;
|
||||
float _pendingSeekTime;
|
||||
@ -49,6 +50,7 @@ static NSString *const playbackRate = @"rate";
|
||||
if ((self = [super init])) {
|
||||
_eventDispatcher = eventDispatcher;
|
||||
|
||||
_playbackRateObserverRegistered = NO;
|
||||
_playbackStalled = NO;
|
||||
_rate = 1.0;
|
||||
_volume = 1.0;
|
||||
|
Loading…
Reference in New Issue
Block a user