capture: erase primary checking condition for getting src crop info 84/162584/2
authorJunkyeong Kim <jk0430.kim@samsung.com>
Mon, 4 Dec 2017 09:26:48 +0000 (18:26 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 4 Dec 2017 10:00:10 +0000 (10:00 +0000)
Change-Id: I1538915eb6d82e6b3659c19805d64a7a89105c81
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/tdm_exynos_capture.c

index 207cf300b1f7b77f092a797b114ee9a968c271ba..47c5441882b142fabded6e1704cdb7c5def89f60 100644 (file)
@@ -429,14 +429,6 @@ _tdm_exynos_capture_oneshot_get_src_crop_info(tdm_exynos_capture_data *capture_d
        out_rect.w = output_data->current_mode->hdisplay;
        out_rect.h = output_data->current_mode->vdisplay;
 
-       if (layer_data->capabilities & TDM_LAYER_CAPABILITY_PRIMARY) {
-               src_crop->x = showing_rect->x = out_rect.x;
-               src_crop->y = showing_rect->y = out_rect.y;
-               src_crop->w = showing_rect->w = out_rect.w;
-               src_crop->h = showing_rect->h = out_rect.h;
-               return;
-       }
-
        dst_rect.x = layer_data->info.dst_pos.x;
        dst_rect.y = layer_data->info.dst_pos.y;
        dst_rect.w = layer_data->info.dst_pos.w;