Add playbackRateObserverRegistered bool property

This commit is contained in:
Stanisław Chmiela 2016-05-17 09:37:11 +02:00
parent ad29d3ea9f
commit 5506805aac

View File

@ -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;