[Issue type] Improvement
Change-Id: I3f84bac4a18c395925975d1898d865e58774d355
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
return MEDIA_VISION_ERROR_INVALID_PARAMETER;
}
+ if( x < 0 || y < 0 || width <= 0 || height <= 0 ) {
+ LOGE("Invalid ROI. Check if roi parameters are less than zero, specially if width and height are equal to zero.");
+ return MEDIA_VISION_ERROR_INVALID_PARAMETER;
+ }
+
auto pTracker = static_cast<ROITracker *>(handle);
pTracker->setRoi(x, y, width, height);
Name: capi-media-vision
Summary: Media Vision library for Tizen Native API
-Version: 0.23.23
+Version: 0.23.24
Release: 0
Group: Multimedia/Framework
License: Apache-2.0 and BSD-3-Clause