Add width and height coordinates swap to ROI mode 37/114537/1 accepted/tizen/3.0/common/20170215.121328 accepted/tizen/3.0/ivi/20170215.034238 accepted/tizen/3.0/mobile/20170215.033733 accepted/tizen/3.0/tv/20170215.033952 accepted/tizen/3.0/wearable/20170215.034106 submit/tizen_3.0/20170214.112531
authorHyunil <hyunil46.park@samsung.com>
Mon, 13 Feb 2017 05:39:06 +0000 (14:39 +0900)
committerHyunil Park <hyunil46.park@samsung.com>
Tue, 14 Feb 2017 02:21:16 +0000 (18:21 -0800)
Change-Id: I221c0d661249ae0275239b1483779f0983b72838
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
(cherry picked from commit baa7a2617cd02976713262bfbf4f617288cc979a)

packaging/libmm-evas-renderer.spec
src/mm_evas_renderer.c

index 703162a23c643676fc055c5065a6308fc9f91eff..7b04a05fcc615a06cd0a5858439c212599838355 100644 (file)
@@ -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
index 3f4621ca41eb4399c7f707f36a1200bc87fc820d..d50124e5f93e3b5cc2f7431fb0a263e1352b9403 100755 (executable)
@@ -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.");