OSDN Git Service

Fix for 5638097 KenBurn generation time increased from 19 secs to 30 secs
authorHong Teng <hongteng@google.com>
Mon, 21 Nov 2011 23:09:49 +0000 (15:09 -0800)
committerHong Teng <hongteng@google.com>
Tue, 22 Nov 2011 00:59:12 +0000 (16:59 -0800)
-Remove the additional transcoding for kenburn video in video editor saving phase.

Change-Id: Ia8721ba75d4b7923db0f483bf30209c6fa40e4bd

libvideoeditor/vss/src/M4xVSS_API.c

index eb85227..9f5410b 100755 (executable)
@@ -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 */