提交 a82387fa 编写于 作者: Z Zhang Rui

ios: remove unused property from protocol

上级 b4f44389
......@@ -66,15 +66,9 @@
@synthesize playbackState = _playbackState;
@synthesize loadState = _loadState;
@synthesize naturalSize = _naturalSize;
@synthesize controlStyle = _controlStyle;
@synthesize scalingMode = _scalingMode;
@synthesize shouldAutoplay = _shouldAutoplay;
@synthesize useApplicationAudioSession = _useApplicationAudioSession;
@synthesize currentPlaybackRate = _currentPlaybackRate;
@synthesize initialPlaybackTime = _initialPlaybackTime;
@synthesize endPlaybackTime = _endPlaybackTime;
#define FFP_IO_STAT_STEP (50 * 1024)
......@@ -163,10 +157,6 @@ void IJKFFIOStatCompleteRegister(void (*cb)(const char *url,
_controlStyle = MPMovieControlStyleNone;
_scalingMode = MPMovieScalingModeAspectFit;
_shouldAutoplay = NO;
_useApplicationAudioSession = NO;
_currentPlaybackRate = 1.0f;
_initialPlaybackTime = 0;
_endPlaybackTime = 0;
// init media resource
_ffMrl = [[IJKFFMrl alloc] initWithMrl:aUrlString];
......
......@@ -38,15 +38,9 @@
@dynamic playbackState;
@dynamic loadState;
@dynamic naturalSize;
@dynamic controlStyle;
@dynamic scalingMode;
@dynamic shouldAutoplay;
@dynamic useApplicationAudioSession;
@dynamic currentPlaybackRate;
@dynamic initialPlaybackTime;
@dynamic endPlaybackTime;
@synthesize numberOfBytesTransferred = _numberOfBytesTransferred;
- (id)initWithContentURL:(NSURL *)aUrl
......
......@@ -49,8 +49,6 @@
@property(nonatomic, readonly) MPMoviePlaybackState playbackState;
@property(nonatomic, readonly) MPMovieLoadState loadState;
@property(nonatomic, readonly) CGSize naturalSize;
@property(nonatomic, readonly) int64_t numberOfBytesTransferred;
// deprecated, for MPMoviePlayerController compatiable
......@@ -62,10 +60,6 @@
@property(nonatomic) MPMovieControlStyle controlStyle;
@property(nonatomic) MPMovieScalingMode scalingMode;
@property(nonatomic) BOOL shouldAutoplay;
@property(nonatomic) BOOL useApplicationAudioSession;
@property(nonatomic) float currentPlaybackRate;
@property(nonatomic) NSTimeInterval initialPlaybackTime;
@property(nonatomic) NSTimeInterval endPlaybackTime;
#pragma mark Notifications
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册