summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunil <hyunil46.park@samsung.com>2017-02-13 14:39:06 +0900
committerHyunil <hyunil46.park@samsung.com>2017-02-13 14:39:06 +0900
commitbaa7a2617cd02976713262bfbf4f617288cc979a (patch)
tree069985d3f0046d61b65da9c3dc7783e4762e3864
parent94664019ad09ec59c8173886f07bb16a04bbb330 (diff)
downloadlibmm-evas-renderer-baa7a2617cd02976713262bfbf4f617288cc979a.tar.gz
libmm-evas-renderer-baa7a2617cd02976713262bfbf4f617288cc979a.tar.bz2
libmm-evas-renderer-baa7a2617cd02976713262bfbf4f617288cc979a.zip
Change-Id: I221c0d661249ae0275239b1483779f0983b72838 Signed-off-by: Hyunil <hyunil46.park@samsung.com>
-rw-r--r--packaging/libmm-evas-renderer.spec2
-rwxr-xr-xsrc/mm_evas_renderer.c2
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.");