remove precondition about roi mode setting 53/172953/3
authorEunhae Choi <eunhae1.choi@samsung.com>
Mon, 19 Mar 2018 05:44:42 +0000 (14:44 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Mon, 26 Mar 2018 08:48:26 +0000 (17:48 +0900)
Change-Id: Ib282b2451622c0d0702c0447dc5a47fb7a361608

include/player.h

index 8ed87fee9dfbd41d0c08b9f6efc7c4f651d3d9d8..472e35889a8daa72edee5800b98e38adf8b16757 100644 (file)
@@ -1241,9 +1241,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
@@ -1254,7 +1255,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()