diff options
author | Brett W <geekman3454@protonmail.com> | 2017-08-03 14:22:33 -0400 |
---|---|---|
committer | Brett W <geekman3454@protonmail.com> | 2017-08-03 14:22:33 -0400 |
commit | cc3f07e0ebca9d9d3353f42cafb9c83cf41e01f9 (patch) | |
tree | 477ee8177da1b961b42771e47b8a6fc5e9f90f44 | |
parent | 7e5fa4f7e37f9166c31350327954eaef97716944 (diff) | |
download | sdl_ios-feature/SDL-0058-video-streaming-capabilities.tar.gz |
fixed gettersfeature/SDL-0058-video-streaming-capabilities
-rw-r--r-- | SmartDeviceLink/SDLVideoStreamingCapability.m | 2 | ||||
-rw-r--r-- | SmartDeviceLink/SDLVideoStreamingFormat.m | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLVideoStreamingCapability.m b/SmartDeviceLink/SDLVideoStreamingCapability.m index 3dff5cac0..fa00fc0af 100644 --- a/SmartDeviceLink/SDLVideoStreamingCapability.m +++ b/SmartDeviceLink/SDLVideoStreamingCapability.m @@ -46,7 +46,7 @@ } - (SDLImageResolution *)preferredResolution { - return store[NAMES_preferredResolution]; + return [store objectForKey:NAMES_preferredResolution]; } - (void)setMaxBitrate:(NSNumber *)maxBitrate { diff --git a/SmartDeviceLink/SDLVideoStreamingFormat.m b/SmartDeviceLink/SDLVideoStreamingFormat.m index 4cc4a7341..7fbab3099 100644 --- a/SmartDeviceLink/SDLVideoStreamingFormat.m +++ b/SmartDeviceLink/SDLVideoStreamingFormat.m @@ -32,7 +32,7 @@ } - (SDLVideoStreamingProtocol *)protocol { - return store[NAMES_videoProtocol]; + return [store objectForKey:NAMES_videoProtocol]; } - (void)setVideoStreamingCodec:(SDLVideoStreamingCodec *)codec { @@ -44,7 +44,7 @@ } - (SDLVideoStreamingCodec *)codec { - return store[NAMES_videoCodec]; + return [store objectForKey:NAMES_videoCodec]; } @end |