diff --git a/cplusplus/level1_single_api/6_media/1_camera/camera_sample/vi_with_sensor.c b/cplusplus/level1_single_api/6_media/1_camera/camera_sample/vi_with_sensor.c index 33a4d7be0c81d6c2fd3fe6a81e94d7ff51345098..f785d059e637b381f67f70866c27cac1e893685c 100644 --- a/cplusplus/level1_single_api/6_media/1_camera/camera_sample/vi_with_sensor.c +++ b/cplusplus/level1_single_api/6_media/1_camera/camera_sample/vi_with_sensor.c @@ -205,7 +205,7 @@ hi_s32 start_camera(hi_u32 index, case_info sensor_info) if (sensor_info.sensor_type == 1) { sensor_type = SONY_IMX219_MIPI_1920x1080_10BIT_30FPS_NORMAL; } else if (sensor_info.sensor_type == 2) { - sensor_type = SONY_IMX477_MIPI_1920x1080_10BIT_DOL2_15FPS; + sensor_type = SONY_IMX477_MIPI_1920x1080_10BIT_DOL4_15FPS; } else { goto sys_init_failed; } @@ -272,6 +272,7 @@ hi_s32 get_sample_vi_info_by_sensorType(const SAMPLE_SNS_TYPE_E sensor_type, pipe_mult_sensor[dev_id] = dev_id; break; case SONY_IMX477_MIPI_1920x1080_10BIT_DOL2_15FPS: + case SONY_IMX477_MIPI_1920x1080_10BIT_DOL4_15FPS: memcpy(sample_vi_info, &sample_vi_info_linear, sizeof(SAMPLE_VI_INFO_S)); sample_vi_info->stSnsInfo.enSnsType = sensor_type; sample_vi_info->stSnsInfo.s32BusId = 0 + dev_id * 2;