From 57e4dffaa8a4a112212c836d7738bf5c5754fb35 Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Thu, 13 Jul 2017 16:05:24 +0900 Subject: [PATCH] Add new field for crop information of source buffer In some case, buffer could be displayed properly if source crop information is provided, but now, there is no field for that in MMVideoBuffer. [Version] 0.2.104 [Profile] Common [Issue Type] Update [Dependency module] N/A Change-Id: Icf58d38ac8e24db744adf5e59a42f995ba121e26 Signed-off-by: Jeongmo Yang --- include/mm_types.h | 1 + packaging/libmm-common.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mm_types.h b/include/mm_types.h index edf3b75..4d1ca3f 100755 --- a/include/mm_types.h +++ b/include/mm_types.h @@ -542,6 +542,7 @@ typedef struct { - If this flag is TRUE, sink element will make copy of last buffer, and it will return all buffers from src element. Then, src element can restart without changing pipeline state. */ + MMRectType crop; /**< crop information of buffer */ } MMVideoBuffer; diff --git a/packaging/libmm-common.spec b/packaging/libmm-common.spec index 0824962..56a319a 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.103 +Version: 0.2.104 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 -- 2.7.4