From: Eunhye Choi Date: Thu, 9 May 2019 10:03:06 +0000 (+0900) Subject: [0.2.119][Player] Add new message type and parameter X-Git-Tag: submit/tizen_5.5_mobile_hotfix/20201026.185103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen_5.5_mobile_hotfix%2F20201026.185103;p=platform%2Fcore%2Fmultimedia%2Flibmm-common.git [0.2.119][Player] Add new message type and parameter - Add new message type and parameter - Remove unused message type Change-Id: Ia4535c273327ba5fe25adf34401a530acf9e544a --- diff --git a/include/mm_message.h b/include/mm_message.h index 1d76e21..a3464d1 100644 --- a/include/mm_message.h +++ b/include/mm_message.h @@ -59,23 +59,17 @@ enum MMMessageType { MM_MESSAGE_BUFFERING, /**< Buffering message type */ MM_MESSAGE_BEGIN_OF_STREAM, /**< Streaming begin message type */ MM_MESSAGE_END_OF_STREAM, /**< End of stream message type */ - MM_MESSAGE_BLUETOOTH_ON, /**< Bluetooth A2DP Connection ON */ - MM_MESSAGE_BLUETOOTH_OFF, /**< Bluetooth A2DP Connection OFF */ MM_MESSAGE_RESUMED_BY_REW, /**< Resumed by fast rewind message type */ MM_MESSAGE_UPDATE_SUBTITLE, /**< Update subtitle type */ MM_MESSAGE_RTP_SENDER_REPORT, /**< RTP sender report */ MM_MESSAGE_RTP_RECEIVER_REPORT, /**< RTP receiver report */ MM_MESSAGE_RTP_SESSION_STATUS, /**< RTP session status */ - MM_MESSAGE_SENDER_STATE, /**< Sender state */ - MM_MESSAGE_RECEIVER_STATE, /**< Receiver state */ MM_MESSAGE_FILE_NOT_SUPPORTED, /**< Not supported file */ MM_MESSAGE_FILE_NOT_FOUND, /**< Not founded file */ MM_MESSAGE_DRM_NOT_AUTHORIZED, /**< Not authorized to play the content */ MM_MESSAGE_VIDEO_CAPTURED, /**< Video frame has been captured */ MM_MESSAGE_VIDEO_NOT_CAPTURED, /**< video capture failed */ MM_MESSAGE_SEEK_COMPLETED, /**< Seek completed */ - MM_MESSAGE_PD_DOWNLOADER_START, /**< PD downloader start message */ - MM_MESSAGE_PD_DOWNLOADER_END, /**< PD downloader end message */ MM_MESSAGE_IMAGE_BUFFER, /**< hls image buffer message type */ MM_MESSAGE_DRM_NO_LICENSE, /**< No license */ MM_MESSAGE_DRM_EXPIRED, /**< Expired license */ @@ -83,6 +77,9 @@ enum MMMessageType { MM_MESSAGE_VIDEO_BIN_CREATED, /**< Video bin is created */ MM_MESSAGE_GAPLESS_CONSTRUCTION, /**< pipeline is under the construction for gapless */ MM_MESSAGE_PLAY_POSITION, /**< Play position */ + MM_MESSAGE_VIDEO_STREAM_CHANGED, /**< Video stream is changed */ + MM_MESSAGE_PUSH_BUFFER_STATUS, /**< Push buffer status message type */ + MM_MESSAGE_PUSH_BUFFER_SEEK_DATA, /**< Push buffer seek data message type */ /* CAMCORDER */ MM_MESSAGE_CAMCORDER_STATE_CHANGED = 0x200, /**< State changed.*/ @@ -167,6 +164,8 @@ enum MMMessageUnionType { MM_MSG_UNION_RECORDING_STATUS, MM_MSG_UNION_REC_VOLUME_DB, MM_MSG_UNION_CONSUME_RECORDER_BUFFER, + MM_MSG_UNION_BUFFER_STATUS, + MM_MSG_UNION_SEEK_DATA, }; /* @@ -330,6 +329,21 @@ typedef struct { unsigned int height; /* height of captured image */ unsigned int orientation; /* orientation of captured image */ } captured_frame; +/** + * seek_data + */ + struct { + unsigned int stream_type; + unsigned long long offset; + } seek_data; +/** + * buffer_status + */ + struct { + unsigned int stream_type; + unsigned int status; + unsigned long long bytes; + } buffer_status; }; int size; /**< Allocated size of 'data' */ diff --git a/packaging/libmm-common.spec b/packaging/libmm-common.spec index 31c5888..f3c9c74 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.118 +Version: 0.2.119 Release: 0 Group: Multimedia/Libraries License: Apache-2.0