After applying this patch, 'scmirroring_set_resolution' api can set 'resolution' parameter to 0.
Then, user can set initial value to resolution.
Change-Id: I035eb0667e3f9466a656001e6ff28c4d9458d742
Signed-off-by: Hyunsoo <hance.park@samsung.com>
Name: capi-media-screen-mirroring
Summary: A screen mirroring library in Tizen C API
-Version: 0.1.85
+Version: 0.1.86
Release: 0
Group: Multimedia/API
License: Apache-2.0
scmirroring_retvm_if(handle == NULL, SCMIRRORING_ERROR_INVALID_PARAMETER, "scmirroring_sink is NULL");
scmirroring_retvm_if(handle->magic_num != SCMIRRORING_MAGIC_NUMBER, SCMIRRORING_ERROR_INVALID_PARAMETER, "scmirroring_sink is invalid handle");
- if ((resolution < SCMIRRORING_RESOLUTION_1920x1080_P30) || (resolution >= SCMIRRORING_RESOLUTION_MAX)) {
+ if ((resolution < SCMIRRORING_RESOLUTION_UNKNOWN) || (resolution >= SCMIRRORING_RESOLUTION_MAX)) {
scmirroring_error("Invalid resolution : %d", resolution);
return SCMIRRORING_ERROR_INVALID_PARAMETER;
}