summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHong Teng <hongteng@google.com>2011-11-21 15:09:49 -0800
committerHong Teng <hongteng@google.com>2011-11-21 16:59:12 -0800
commit8e61113210e4c3c1ce57ecef1dda327bea85c19c (patch)
treed04793d9b50e231c7f93f09503055772ecf47f3f
parentfbb122bfb2615f007a8b321d553669e8ff56c40b (diff)
downloadlibvideoeditor-8e61113210e4c3c1ce57ecef1dda327bea85c19c.tar.gz
Fix for 5638097 KenBurn generation time increased from 19 secs to 30 secs
-Remove the additional transcoding for kenburn video in video editor saving phase. Change-Id: Ia8721ba75d4b7923db0f483bf30209c6fa40e4bd
-rwxr-xr-xvss/src/M4xVSS_API.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vss/src/M4xVSS_API.c b/vss/src/M4xVSS_API.c
index eb85227..9f5410b 100755
--- a/vss/src/M4xVSS_API.c
+++ b/vss/src/M4xVSS_API.c
@@ -2068,6 +2068,11 @@ M4OSA_ERR M4xVSS_SendCommand( M4OSA_Context pContext,
pParams->pNext = M4OSA_NULL;
pParams->isCreated = M4OSA_FALSE;
xVSS_context->nbStepTotal++;
+ /* Set bTranscodingRequired to TRUE to indicate the kenburn video has
+ * been generated in analysis phase, and does not need to be tanscoded again
+ * in saving phase */
+ xVSS_context->pSettings->pClipList[i]->bTranscodingRequired =
+ M4OSA_TRUE;
replaceARGB_3GP:
/* Update total duration */