From 13aab181ba62c780e91c9e80c68f4fcd08eb9a34 Mon Sep 17 00:00:00 2001 From: Eunhae Choi Date: Thu, 1 Jun 2017 19:03:57 +0900 Subject: [PATCH] [0.2.102] rearrange player error Change-Id: Ie5ff8aa90e2f4489ee560c00f0b495e9dec9ffd7 --- include/mm_error.h | 47 +++++++++++++++++++-------------------------- packaging/libmm-common.spec | 2 +- 2 files changed, 21 insertions(+), 28 deletions(-) diff --git a/include/mm_error.h b/include/mm_error.h index fec92c6..6365d45 100644 --- a/include/mm_error.h +++ b/include/mm_error.h @@ -143,33 +143,26 @@ #define MM_ERROR_PLAYER_DECODE (MM_ERROR_PLAYER_CLASS | 0x03) /**< Error while decoding data */ #define MM_ERROR_PLAYER_NO_FREE_SPACE (MM_ERROR_PLAYER_CLASS | 0x04) /**< Out of storage */ #define MM_ERROR_PLAYER_FILE_NOT_FOUND (MM_ERROR_PLAYER_CLASS | 0x05) /**< Cannot find file */ -#define MM_ERROR_PLAYER_STREAM_NOT_FOUND (MM_ERROR_PLAYER_CLASS | 0x06) /**< Cannot find stream */ -#define MM_ERROR_PLAYER_END_OF_STREAM (MM_ERROR_PLAYER_CLASS | 0x07) /**< End of stream */ -#define MM_ERROR_PLAYER_SEEK (MM_ERROR_PLAYER_CLASS | 0x08) /**< Seek related errors */ -#define MM_ERROR_PLAYER_INTERNAL (MM_ERROR_PLAYER_CLASS | 0x09) /**< Internal errors */ -#define MM_ERROR_PLAYER_INVALID_STATE (MM_ERROR_PLAYER_CLASS | 0x0a) /**< Invalid state */ -#define MM_ERROR_PLAYER_AUDIO_NOT_OPENED (MM_ERROR_PLAYER_CLASS | 0x0b) /**< Cannot open audio */ -#define MM_ERROR_PLAYER_INVALID_VOLUME (MM_ERROR_PLAYER_CLASS | 0x0c) /**< Invalid volume */ -#define MM_ERROR_PLAYER_INVALID_URI (MM_ERROR_PLAYER_CLASS | 0x0d) /**< Invalid URI */ -#define MM_ERROR_PLAYER_INVALID_POSITION (MM_ERROR_PLAYER_CLASS | 0x0e) /**< Invalid position */ -#define MM_ERROR_PLAYER_NO_OP (MM_ERROR_PLAYER_CLASS | 0x0f) /**< No operation */ -#define MM_ERROR_PLAYER_BT_CONNECTION (MM_ERROR_PLAYER_CLASS | 0x10) /**< bt connection error */ -#define MM_ERROR_PLAYER_BT_WRITE (MM_ERROR_PLAYER_CLASS | 0x11) /**< bt connection error */ -#define MM_ERROR_PLAYER_NOT_SUPPORTED_FORMAT (MM_ERROR_PLAYER_CLASS | 0x12) /**< Not supported format */ -#define MM_ERROR_PLAYER_AUDIO_CODEC_NOT_FOUND (MM_ERROR_PLAYER_CLASS | 0x13) /**< Not supported audio codec */ -#define MM_ERROR_PLAYER_VIDEO_CODEC_NOT_FOUND (MM_ERROR_PLAYER_CLASS | 0x14) /**< Not supported video codec */ -#define MM_ERROR_PLAYER_STREAMING_FAIL (MM_ERROR_PLAYER_CLASS | 0x15) /**< Fail to play streaming */ -#define MM_ERROR_PLAYER_DSP_CRASHED (MM_ERROR_PLAYER_CLASS | 0x16) /**< Dsp is crashed */ -#define MM_ERROR_PLAYER_INVALID_STREAM (MM_ERROR_PLAYER_CLASS | 0x17) /**< Invalid stream */ -#define MM_ERROR_PLAYER_DOING_SEEK (MM_ERROR_PLAYER_CLASS | 0x18) /**< Still seeking */ -#define MM_ERROR_PLAYER_DRM_NO_LICENSE (MM_ERROR_PLAYER_CLASS | 0x19) /**< No license */ -#define MM_ERROR_PLAYER_DRM_EXPIRED (MM_ERROR_PLAYER_CLASS | 0x1a) /**< Expired license */ -#define MM_ERROR_PLAYER_DRM_FUTURE_USE (MM_ERROR_PLAYER_CLASS | 0x1b) /**< License for future use */ -#define MM_ERROR_PLAYER_DRM_NOT_AUTHORIZED (MM_ERROR_PLAYER_CLASS | 0x1c) /**< Not authorized */ -#define MM_ERROR_PLAYER_DRM_OUTPUT_PROTECTION (MM_ERROR_PLAYER_CLASS | 0x1d) /**< Output protected */ -#define MM_ERROR_PLAYER_RESOURCE_LIMIT (MM_ERROR_PLAYER_CLASS | 0x1e) /**< Resource limit */ -#define MM_ERROR_PLAYER_PERMISSION_DENIED (MM_ERROR_PLAYER_CLASS | 0x1f) /**< Permission denied */ -#define MM_ERROR_PLAYER_BUFFER_SPACE (MM_ERROR_PLAYER_CLASS | 0x20) /**< No buffer space available */ +#define MM_ERROR_PLAYER_SEEK (MM_ERROR_PLAYER_CLASS | 0x06) /**< Seek related errors */ +#define MM_ERROR_PLAYER_INTERNAL (MM_ERROR_PLAYER_CLASS | 0x07) /**< Internal errors */ +#define MM_ERROR_PLAYER_INVALID_STATE (MM_ERROR_PLAYER_CLASS | 0x08) /**< Invalid state */ +#define MM_ERROR_PLAYER_INVALID_URI (MM_ERROR_PLAYER_CLASS | 0x09) /**< Invalid URI */ +#define MM_ERROR_PLAYER_NO_OP (MM_ERROR_PLAYER_CLASS | 0x0a) /**< No operation */ +#define MM_ERROR_PLAYER_NOT_SUPPORTED_FORMAT (MM_ERROR_PLAYER_CLASS | 0x0b) /**< Not supported format */ +#define MM_ERROR_PLAYER_NOT_SUPPORTED_SUBTITLE (MM_ERROR_PLAYER_CLASS | 0x0c) /**< Not supported subtitle */ +#define MM_ERROR_PLAYER_AUDIO_CODEC_NOT_FOUND (MM_ERROR_PLAYER_CLASS | 0x0d) /**< Not supported audio codec */ +#define MM_ERROR_PLAYER_VIDEO_CODEC_NOT_FOUND (MM_ERROR_PLAYER_CLASS | 0x0e) /**< Not supported video codec */ +#define MM_ERROR_PLAYER_STREAMING_FAIL (MM_ERROR_PLAYER_CLASS | 0x0f) /**< Fail to play streaming */ +#define MM_ERROR_PLAYER_INVALID_STREAM (MM_ERROR_PLAYER_CLASS | 0x10) /**< Invalid stream */ +#define MM_ERROR_PLAYER_DOING_SEEK (MM_ERROR_PLAYER_CLASS | 0x11) /**< Still seeking */ +#define MM_ERROR_PLAYER_DRM_NO_LICENSE (MM_ERROR_PLAYER_CLASS | 0x12) /**< No license */ +#define MM_ERROR_PLAYER_DRM_EXPIRED (MM_ERROR_PLAYER_CLASS | 0x13) /**< Expired license */ +#define MM_ERROR_PLAYER_DRM_FUTURE_USE (MM_ERROR_PLAYER_CLASS | 0x14) /**< License for future use */ +#define MM_ERROR_PLAYER_DRM_NOT_AUTHORIZED (MM_ERROR_PLAYER_CLASS | 0x15) /**< Not authorized */ +#define MM_ERROR_PLAYER_DRM_OUTPUT_PROTECTION (MM_ERROR_PLAYER_CLASS | 0x16) /**< Output protected */ +#define MM_ERROR_PLAYER_RESOURCE_LIMIT (MM_ERROR_PLAYER_CLASS | 0x17) /**< Resource limit */ +#define MM_ERROR_PLAYER_PERMISSION_DENIED (MM_ERROR_PLAYER_CLASS | 0x18) /**< Permission denied */ +#define MM_ERROR_PLAYER_BUFFER_SPACE (MM_ERROR_PLAYER_CLASS | 0x19) /**< No buffer space available */ #define MM_ERROR_PLAYER_STREAMING_UNSUPPORTED_AUDIO (MM_ERROR_PLAYER_CLASS | 0x22) /**< Unsupported audio */ #define MM_ERROR_PLAYER_STREAMING_UNSUPPORTED_VIDEO (MM_ERROR_PLAYER_CLASS | 0x23) /**< Unsupported video */ diff --git a/packaging/libmm-common.spec b/packaging/libmm-common.spec index ee83dcd..136f0e2 100644 --- a/packaging/libmm-common.spec +++ b/packaging/libmm-common.spec @@ -1,6 +1,6 @@ Name: libmm-common Summary: Multimedia Framework Common Lib -Version: 0.2.101 +Version: 0.2.102 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 -- 2.7.4