- _filter->condition = _media_content_replace_path_in_condition(condition);
-
- /* FIXME
- If an error is occured in _media_content_replace_path_in_condition(),
- A suitable return value is 'MEDIA_CONTENT_ERROR_INVALID_OPERATION'.
- However, it is not stated in the description of media_filter_set_condition().
- Therefore, use 'MEDIA_CONTENT_ERROR_OUT_OF_MEMORY' temporarily.
- It will be modified after removing _media_content_replace_path_in_condition() function.
- */
- content_retvm_if(_filter->condition == NULL, MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, "Fail to set condition");