[ACR-694] add resource limit error code on player_create() 02/76202/5
authorEunhae Choi <eunhae1.choi@samsung.com>
Thu, 23 Jun 2016 06:27:01 +0000 (15:27 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Wed, 29 Jun 2016 07:10:15 +0000 (16:10 +0900)
Change-Id: Icf9b3f3c10041178b95c5cdd231e4c3aa0eb6d5b

include/common/player.h
include/wearable/player.h

index faafab7..b4d0947 100644 (file)
@@ -406,6 +406,7 @@ typedef void (*player_video_stream_changed_cb) (int width, int height, int fps,
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #PLAYER_ERROR_OUT_OF_MEMORY Out of memory
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #PLAYER_ERROR_RESOURCE_LIMIT Cannot create more instace due to resource(socket, thread, etc) limitation on system.
  * @post The player state will be #PLAYER_STATE_IDLE.
  * @see player_destroy()
  */
index c648c6a..060b338 100644 (file)
@@ -404,6 +404,7 @@ typedef void (*player_video_stream_changed_cb) (int width, int height, int fps,
  * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #PLAYER_ERROR_OUT_OF_MEMORY Out of memory
  * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
+ * @retval #PLAYER_ERROR_RESOURCE_LIMIT Cannot create more instace due to resource(socket, thread, etc) limitation on system.
  * @post The player state will be #PLAYER_STATE_IDLE.
  * @see player_destroy()
  */