int ret;
unsigned int src_w, src_h;
if (roi == NULL) {
- LOGE("roi is null");
- return MEDIA_VISION_ERROR_INVALID_PARAMETER;
+ LOGI("roi is null, so whole source will be used.");
+ return MEDIA_VISION_ERROR_NONE;
}
ret = mv_source_get_width(source, &src_w);
if (ret != MEDIA_VISION_ERROR_NONE) {
int ret;
unsigned int src_w, src_h;
if (roi == NULL) {
- LOGE("roi is null");
- return MEDIA_VISION_ERROR_INVALID_PARAMETER;
+ LOGI("roi is null, so whole source will be used.");
+ return MEDIA_VISION_ERROR_NONE;
}
if (roi->width <= 0 || roi->height <= 0) {
LOGE("roi width, height must be positive value");