video: modify condition for input size 72/120172/4 accepted/tizen/3.0/common/20170327.141011 accepted/tizen/3.0/ivi/20170327.052516 accepted/tizen/3.0/mobile/20170327.052417 accepted/tizen/3.0/tv/20170327.052453 accepted/tizen/3.0/wearable/20170327.052503 accepted/tizen/common/20170323.154651 accepted/tizen/ivi/20170324.024022 accepted/tizen/mobile/20170324.023932 accepted/tizen/tv/20170324.023944 accepted/tizen/unified/20170324.024047 accepted/tizen/wearable/20170324.024004 submit/tizen/20170323.101716 submit/tizen_3.0/20170323.101730
authorkyoungsik park <kstyle.park@samsung.com>
Wed, 22 Mar 2017 04:24:16 +0000 (13:24 +0900)
committerkyoungsik park <kstyle.park@samsung.com>
Wed, 22 Mar 2017 04:36:53 +0000 (21:36 -0700)
Change-Id: Ifdb004a0a5d779b9a4c7ac4f2b28b7460f72f635
Signed-off-by: kyoungsik park <kstyle.park@samsung.com>
src/e_devicemgr_video.c

index bbb588904b457bb4616b668dd421d17511f1ded8..128b6bbde489f292a1e08f7daa51ff9f776cf19e 100755 (executable)
@@ -940,9 +940,9 @@ _e_video_geometry_cal(E_Video * video)
      ecore_drm_output_current_resolution_get(video->drm_output, &screen.w, &screen.h, NULL);
 
    _e_video_buffer_size_get(video->ec->pixmap, &input_r.w, &input_r.h);
-   // when topmost is not mapped, input size is set 1by1 abnormally.
+   // when topmost is not mapped, input size can be abnormal.
    // in this case, it will be render by topmost showing.
-   if (!eina_rectangle_intersection(&video->geo.input_r, &input_r) || (video->geo.input_r.w <= 1 && video->geo.input_r.h <= 1))
+   if (!eina_rectangle_intersection(&video->geo.input_r, &input_r) || (video->geo.input_r.w <= 10 || video->geo.input_r.h <= 10))
      {
         VER("input area is empty");
         return EINA_FALSE;