summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/vss
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
commitc8d53b6147249440e6b99f88adc795ac82e1a050 (patch)
treee94156583fb608cb1537a7a0c5e3fc2e95222f49 /libvideoeditor/vss
parent482cedda9164b9f376dbe47644e33eb07db5b996 (diff)
downloadframeworks_av-c8d53b6147249440e6b99f88adc795ac82e1a050.zip
frameworks_av-c8d53b6147249440e6b99f88adc795ac82e1a050.tar.gz
frameworks_av-c8d53b6147249440e6b99f88adc795ac82e1a050.tar.bz2
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
Diffstat (limited to 'libvideoeditor/vss')
-rwxr-xr-xlibvideoeditor/vss/src/M4xVSS_API.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvideoeditor/vss/src/M4xVSS_API.c b/libvideoeditor/vss/src/M4xVSS_API.c
index eb85227..9f5410b 100755
--- a/libvideoeditor/vss/src/M4xVSS_API.c
+++ b/libvideoeditor/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 */