From a1c133016a48e1a33843f124ec76a795d028dc4d Mon Sep 17 00:00:00 2001 From: Eunhae Choi Date: Thu, 23 Jun 2016 15:27:01 +0900 Subject: [PATCH] [ACR-694] add resource limit error code on player_create() Change-Id: Icf9b3f3c10041178b95c5cdd231e4c3aa0eb6d5b --- include/common/player.h | 1 + include/wearable/player.h | 1 + 2 files changed, 2 insertions(+) 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() */ -- 2.7.4