summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEunhye Choi <eunhae1.choi@samsung.com>2019-05-09 19:03:06 +0900
committerEunhye Choi <eunhae1.choi@samsung.com>2019-05-09 20:02:29 +0900
commit11e5e7f817c60dc07ef54ce6a0ec83311ee76f06 (patch)
treebdabc36f60fa95eef6c6a211187497291576fe8b
parent0fa6589e9d9d9ef42f8a2bfdc6fac622f60dce31 (diff)
downloadlibmm-common-11e5e7f817c60dc07ef54ce6a0ec83311ee76f06.tar.gz
libmm-common-11e5e7f817c60dc07ef54ce6a0ec83311ee76f06.tar.bz2
libmm-common-11e5e7f817c60dc07ef54ce6a0ec83311ee76f06.zip
- Add new message type and parameter - Remove unused message type Change-Id: Ia4535c273327ba5fe25adf34401a530acf9e544a
-rw-r--r--include/mm_message.h26
-rw-r--r--packaging/libmm-common.spec2
2 files changed, 21 insertions, 7 deletions
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