From: younghwan
Before setting the visibility of the x surface video display, check that it has not already been done by using the player_is_display_visible() function:
+Before setting the visibility of the video display, check that it has not already been done by using the player_is_display_visible() function:
bool is_visible; error_code = player_is_display_visible(player, &is_visible); @@ -660,19 +660,12 @@ dlog_print(DLOG_ERROR, LOG_TAG, "player_is_display_visible = %d", erro
Check the possibility of using the video display mode using the player_is_display_mode_changeable() function:
- -bool is_changeable; - -error_code = player_is_display_mode_changeable(player, &is_changeable); -dlog_print(DLOG_ERROR, LOG_TAG, "player_is_display_mode_changeable = %d", error_code); -
If the is_changeable variable is set to true, set the display mode using the player_set_display_mode() function. The player_display_mode_e enumerator (in mobile and wearable applications) defines the available display modes.
-if (is_changeable) -{ +error_code = player_set_display_mode(player, PLAYER_DISPLAY_MODE_FULL_SCREEN); dlog_print(DLOG_ERROR, LOG_TAG, "player_set_display_mode = %d", error_code); -}
Set the display rotation using the player_set_display_rotation() function. The player_display_rotation_e enumerator (in mobile and wearable applications) defines the available display rotations.