diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-07-28 10:55:28 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-07-28 10:55:28 -0700 |
commit | 1ac0a6be800449fd7eb301935bd6dd1c6922d663 (patch) | |
tree | d799f07cda565a89b8edb83a0af507eb0fd977c0 | |
parent | 6bb971b7cde58c15270369e0aabccad87342b1f3 (diff) | |
download | sdl_ios-1ac0a6be800449fd7eb301935bd6dd1c6922d663.tar.gz |
Removed synthesize of videoEncoderSettings.
-rw-r--r-- | SmartDeviceLink/SDLStreamingMediaManager.m | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaManager.m b/SmartDeviceLink/SDLStreamingMediaManager.m index 3eb47163b..995f53526 100644 --- a/SmartDeviceLink/SDLStreamingMediaManager.m +++ b/SmartDeviceLink/SDLStreamingMediaManager.m @@ -41,8 +41,6 @@ NS_ASSUME_NONNULL_BEGIN @implementation SDLStreamingMediaManager -@synthesize videoEncoderSettings = _videoEncoderSettings; - #pragma mark - Class Lifecycle - (instancetype)initWithProtocol:(SDLAbstractProtocol *)protocol displayCapabilities:(SDLDisplayCapabilities*)displayCapabilities { @@ -86,6 +84,8 @@ NS_ASSUME_NONNULL_BEGIN _audioStartBlock = nil; _screenSize = CGSizeMake(640, 480); + + _videoEncoderSettings = self.defaultVideoEncoderSettings; return self; } @@ -172,13 +172,6 @@ NS_ASSUME_NONNULL_BEGIN } } -- (NSDictionary*)videoEncoderSettings { - if (!_videoEncoderSettings) { - _videoEncoderSettings = self.defaultVideoEncoderSettings; - } - return _videoEncoderSettings; -} - - (NSDictionary*)defaultVideoEncoderSettings { static NSDictionary* defaultVideoEncoderSettings = nil; if (defaultVideoEncoderSettings == nil) { |