[ACR-1184] remove precondition about roi mode setting 63/172963/4
authorEunhae Choi <eunhae1.choi@samsung.com>
Mon, 19 Mar 2018 06:11:12 +0000 (15:11 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Mon, 19 Mar 2018 11:13:12 +0000 (20:13 +0900)
Change-Id: I11f62cd3172e4fac904853c4bc7fd97665604f9d

include/player.h

index 216cbd61f97b68166af7d825e30a9e53a4a555ae..e670a76e845d2ad8a606b75365983c98b23b6223 100644 (file)
@@ -1234,9 +1234,10 @@ int player_get_display_mode(player_h player, player_display_mode_e *mode);
 /**
  * @brief Sets the ROI(Region Of Interest) area of display.
  * @since_tizen 3.0
- * @remarks If no display is set, no operation is performed.
- * @remarks Before set display ROI area, #PLAYER_DISPLAY_MODE_DST_ROI must be set with player_set_display_mode().
- *          The minimum value of width and height are 1.
+ * @remarks If no display is set, no operation is performed and
+ *          the ROI area is valid only in #PLAYER_DISPLAY_MODE_DST_ROI display mode.
+ * @remarks The minimum value of width and height are 1.
+ * @remarks ROI area can be set before setting ROI display mode. (since 4.0)
  * @param[in] player The handle to the media player
  * @param[in] x X coordinate of area
  * @param[in] y Y coordinate of area
@@ -1247,7 +1248,6 @@ int player_get_display_mode(player_h player, player_display_mode_e *mode);
  * @retval  #PLAYER_ERROR_NONE Successful
  * @retval  #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval  #PLAYER_ERROR_INVALID_OPERATION Invalid operation
- * @pre display_mode must be set to #PLAYER_DISPLAY_MODE_DST_ROI.
  * @pre The player state must be one of #PLAYER_STATE_IDLE, #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
  * @see player_set_display()
  * @see player_set_display_mode()