summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2021-03-19 10:24:19 -0400
committerNicoleYarroch <nicole@livio.io>2021-03-19 10:24:19 -0400
commit718ae576b664dfc28322c5ce737a5eaf18b76381 (patch)
tree37dfadc8448fb0d161a63fa1c6595b9e6d76b997
parent5c7c6cffe50a8eb04434552f218b515bea97f865 (diff)
downloadsdl_ios-718ae576b664dfc28322c5ce737a5eaf18b76381.tar.gz
Fixed casting warning
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r--SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m b/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m
index 78b25b2f2..76332a6e1 100644
--- a/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m
+++ b/SmartDeviceLink/private/SDLStreamingVideoLifecycleManager.m
@@ -749,7 +749,7 @@ typedef void(^SDLVideoCapabilityResponseHandler)(SDLVideoStreamingCapability *_N
SDLLogD(@"Using generic video capabilites, preferred formats: %@, resolutions: %@, haptics disabled", self.preferredFormats, self.preferredResolutions);
// HAX to support legacy head units (SYNC 3.0) as a slight delay is needed between getting the SDLOnHMIStatus notification and starting the video service. Otherwise, video will stream but the screen will be black. Add the delay here as legacy head units doe not support `videoStreamingCapability`.
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.25 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 250 * NSEC_PER_MSEC), dispatch_get_main_queue(), ^{
[self sdl_useVideoCapability:nil];
});
}