It is changed not to return error even if channel mask is 0.
[Version] 0.1.42
[Issue Type] Bug fix
Change-Id: I3d42125b4ef296b7d00db9be14e60a66ba5357ad
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Name: capi-media-tool
Summary: A Core API media tool library in Tizen Native API
-Version: 0.1.41
+Version: 0.1.42
Release: 0
Group: Multimedia/API
License: Apache-2.0
return MEDIA_FORMAT_ERROR_INVALID_PARAMETER;
}
- if (!fmt_handle->detail.audio.channel_mask) {
- LOGE("The channel mask is not set");
- return MEDIA_FORMAT_ERROR_INVALID_OPERATION;
- }
-
if (fmt_handle->detail.audio.channel < 0 || fmt_handle->detail.audio.channel > 8)
*channel_mask = 0;
else