summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/vss/mcs
diff options
context:
space:
mode:
authorDanny Fernandes <dannyfernandes@google.com>2011-02-14 10:45:28 -0800
committerDanny Fernandes <dannyfernandes@google.com>2011-02-14 10:45:28 -0800
commit0e248c82803c7880a15ce29c2d4be5c2189e414c (patch)
treed5c4050ea779ed72ea7a8cd5066b09a44279d3ce /libvideoeditor/vss/mcs
parent1845894d33736c8e17df6b88874bbd4e5a73977a (diff)
downloadframeworks_av-0e248c82803c7880a15ce29c2d4be5c2189e414c.zip
frameworks_av-0e248c82803c7880a15ce29c2d4be5c2189e414c.tar.gz
frameworks_av-0e248c82803c7880a15ce29c2d4be5c2189e414c.tar.bz2
Fixed issue 3443078 overlay flicker on transition in exported video
Change-Id: I0376b09acd91be8ba792478323d9f48a71818c2b
Diffstat (limited to 'libvideoeditor/vss/mcs')
-rwxr-xr-xlibvideoeditor/vss/mcs/src/M4MCS_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvideoeditor/vss/mcs/src/M4MCS_API.c b/libvideoeditor/vss/mcs/src/M4MCS_API.c
index d04befa..aaaed14 100755
--- a/libvideoeditor/vss/mcs/src/M4MCS_API.c
+++ b/libvideoeditor/vss/mcs/src/M4MCS_API.c
@@ -9410,7 +9410,7 @@ static M4OSA_ERR M4MCS_intVideoTranscoding( M4MCS_InternalContext *pC )
* Check for end cut.
* We must check here if the end cut is reached, because in that case we must
* call the last encode step (-> bLastFrame set to true) */
- if( ( pC->dViDecCurrentCts + pC->dCtsIncrement + 0.5) >= (pC->uiEndCutTime
+ if( ( pC->dViDecCurrentCts + pC->dCtsIncrement ) >= (pC->uiEndCutTime
+ M4MCS_ABS(pC->dViDecStartingCts - pC->uiBeginCutTime)) )
{
FrameMode =