summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2017-12-08 10:18:54 -0500
committerJoel Fischer <joeljfischer@gmail.com>2017-12-08 10:18:54 -0500
commite6f5cac1ee62b896f9384fd86624c2f17ca2eadf (patch)
tree128fb900f4f29d0243207c12cf07c35df6528388
parent127709b2b83eeea322a33e1258792f8ce367a5d2 (diff)
downloadsdl_ios-e6f5cac1ee62b896f9384fd86624c2f17ca2eadf.tar.gz
Fix screen size using reversed width / heightbug/issue_777_fix_width_height_streaming_video
-rw-r--r--SmartDeviceLink/SDLStreamingMediaManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaManager.m b/SmartDeviceLink/SDLStreamingMediaManager.m
index ff9d9d319..b7b161727 100644
--- a/SmartDeviceLink/SDLStreamingMediaManager.m
+++ b/SmartDeviceLink/SDLStreamingMediaManager.m
@@ -328,7 +328,7 @@ NS_ASSUME_NONNULL_BEGIN
}
if (videoAckPayload.height != SDLControlFrameInt32NotFound && videoAckPayload.width != SDLControlFrameInt32NotFound) {
- _screenSize = CGSizeMake(videoAckPayload.height, videoAckPayload.width);
+ _screenSize = CGSizeMake(videoAckPayload.width, videoAckPayload.height);
}
NSError *error = nil;