diff options
author | Hyunil <hyunil46.park@samsung.com> | 2017-02-13 14:39:06 +0900 |
---|---|---|
committer | Hyunil <hyunil46.park@samsung.com> | 2017-02-13 14:39:06 +0900 |
commit | baa7a2617cd02976713262bfbf4f617288cc979a (patch) | |
tree | 069985d3f0046d61b65da9c3dc7783e4762e3864 | |
parent | 94664019ad09ec59c8173886f07bb16a04bbb330 (diff) | |
download | libmm-evas-renderer-baa7a2617cd02976713262bfbf4f617288cc979a.tar.gz libmm-evas-renderer-baa7a2617cd02976713262bfbf4f617288cc979a.tar.bz2 libmm-evas-renderer-baa7a2617cd02976713262bfbf4f617288cc979a.zip |
Add width and height coordinates swap to ROI modesubmit/tizen/20170214.113450accepted/tizen/wearable/20170214.230130accepted/tizen/tv/20170214.230100accepted/tizen/mobile/20170214.230037accepted/tizen/ivi/20170214.230149accepted/tizen/common/20170214.173852
Change-Id: I221c0d661249ae0275239b1483779f0983b72838
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
-rw-r--r-- | packaging/libmm-evas-renderer.spec | 2 | ||||
-rwxr-xr-x | src/mm_evas_renderer.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/libmm-evas-renderer.spec b/packaging/libmm-evas-renderer.spec index 703162a..7b04a05 100644 --- a/packaging/libmm-evas-renderer.spec +++ b/packaging/libmm-evas-renderer.spec @@ -1,6 +1,6 @@ Name: libmm-evas-renderer Summary: Multimedia Framework Evas Renderer Library -Version: 0.0.11 +Version: 0.0.12 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_evas_renderer.c b/src/mm_evas_renderer.c index 3f4621c..d50124e 100755 --- a/src/mm_evas_renderer.c +++ b/src/mm_evas_renderer.c @@ -921,6 +921,8 @@ static void _mm_evas_renderer_update_geometry(mm_evas_info *evas_info, rect_info result->y = evas_info->dst_roi.y; result->w = evas_info->dst_roi.w; result->h = evas_info->dst_roi.h; + if (evas_info->rotate_angle == DEGREE_90 || evas_info->rotate_angle == DEGREE_270) + SWAP(result->w, result->h); break; default: LOGW("unsupported mode."); |