From: Eunhae Choi Date: Thu, 23 Jun 2016 06:27:01 +0000 (+0900) Subject: [ACR-694] add resource limit error code on player_create() X-Git-Tag: submit/tizen/20160704.004002~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1c133016a48e1a33843f124ec76a795d028dc4d;p=platform%2Fcore%2Fapi%2Fplayer.git [ACR-694] add resource limit error code on player_create() Change-Id: Icf9b3f3c10041178b95c5cdd231e4c3aa0eb6d5b --- diff --git a/include/common/player.h b/include/common/player.h index faafab7..b4d0947 100644 --- a/include/common/player.h +++ b/include/common/player.h @@ -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() */ diff --git a/include/wearable/player.h b/include/wearable/player.h index c648c6a..060b338 100644 --- a/include/wearable/player.h +++ b/include/wearable/player.h @@ -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() */