Change ROI mode behavior for player ROI precondition 97/174197/1 accepted/tizen/4.0/unified/20180403.060212 submit/tizen_4.0/20180330.043617
authorHyunil <hyunil46.park@samsung.com>
Thu, 29 Mar 2018 04:45:11 +0000 (13:45 +0900)
committerHyunil <hyunil46.park@samsung.com>
Thu, 29 Mar 2018 04:45:11 +0000 (13:45 +0900)
Change-Id: I1aa0464568cac782d43eb6930c66ff295c361f77
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
src/mm_player_priv.c

index 48a144b1b5635e86315a81dc8a4bd1b94e3ea0a8..e209c0b5f29c915e771e28e53297cccf5f4af474 100644 (file)
@@ -3896,7 +3896,6 @@ void
 __mmplayer_video_param_set_render_rectangle(mm_player_t* player)
 {
        MMHandleType attrs = 0;
-       int display_method = 0;
        void *handle = NULL;
        /*set wl_display*/
        int wl_window_x = 0;
@@ -3912,12 +3911,6 @@ __mmplayer_video_param_set_render_rectangle(mm_player_t* player)
        attrs = MMPLAYER_GET_ATTRS(player);
        MMPLAYER_RETURN_IF_FAIL(attrs);
 
-       /* check roi mode is set */
-       mm_attrs_get_int_by_name(attrs, "display_method", &display_method);
-       if (display_method != PLAYER_DISPLAY_MODE_DST_ROI) {
-               LOGE("must be set display-geometry-method to DISP_GEO_METHOD_CUSTOM_ROI before setting render rectangle");
-               return;
-       }
        mm_attrs_get_data_by_name(attrs, "display_overlay", &handle);
 
        if (handle) {