}
/* The player_display_type_e is different at wearable profile */
-int _player_convert_display_type (player_display_type_e type, player_private_display_type_e *out_type)
+int _player_convert_display_type(player_display_type_e type, player_private_display_type_e *out_type)
{
int ret = PLAYER_ERROR_NONE;
+ PLAYER_NULL_ARG_CHECK(out_type);
switch (type) {
case PLAYER_DISPLAY_TYPE_OVERLAY:
break;
}
- LOGD("display type(%d) => (%d)", type, out_type);
+ LOGD("display type(%d) -> (%d)", type, *out_type);
return ret;
}
LOGD("ENTER type: %d", type);
ret = _player_convert_display_type(type, &conv_type);
- if (ret != PLAYER_ERROR_NONE) {
+ if (ret != PLAYER_ERROR_NONE)
return ret;
- }
if (conv_type != PLAYER_PRIVATE_DISPLAY_TYPE_NONE) {
obj = (Evas_Object *) display;
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(fw_test "${fw_name}-test")
+IF (TIZEN_WEARABLE)
+INCLUDE_DIRECTORIES(../include/wearable)
+ELSE (TIZEN_WEARABLE)
INCLUDE_DIRECTORIES(../include/common)
+ENDIF (TIZEN_WEARABLE)
+
link_directories(${CMAKE_SOURCE_DIR}/../)
SET(WIN_PKG "${WIN_PKG} ecore-wayland")