Fix for 5274212 Transition clip contains more video frames from 1 video clip than the other
Set the alpha blending value correctly.
Change-Id: I6aaed47144d09d182afb1c70d5bb72b7360fb51e
diff --git a/libvideoeditor/vss/src/M4xVSS_internal.c b/libvideoeditor/vss/src/M4xVSS_internal.c
index a322caa..5844115 100755
--- a/libvideoeditor/vss/src/M4xVSS_internal.c
+++ b/libvideoeditor/vss/src/M4xVSS_internal.c
@@ -4240,11 +4240,11 @@
alphaContext = (M4xVSS_internal_AlphaMagicSettings*)userData;
- alphaProgressLevel = (pProgress->uiProgress * 255)/1000;
+ alphaProgressLevel = (pProgress->uiProgress * 128)/1000;
if( alphaContext->isreverse != M4OSA_FALSE)
{
- alphaProgressLevel = 255 - alphaProgressLevel;
+ alphaProgressLevel = 128 - alphaProgressLevel;
planeswap = PlaneIn1;
PlaneIn1 = PlaneIn2;
PlaneIn2 = planeswap;
@@ -4356,11 +4356,11 @@
alphaContext = (M4xVSS_internal_AlphaMagicSettings*)userData;
- alphaProgressLevel = (pProgress->uiProgress * 255)/1000;
+ alphaProgressLevel = (pProgress->uiProgress * 128)/1000;
if( alphaContext->isreverse != M4OSA_FALSE)
{
- alphaProgressLevel = 255 - alphaProgressLevel;
+ alphaProgressLevel = 128 - alphaProgressLevel;
planeswap = PlaneIn1;
PlaneIn1 = PlaneIn2;
PlaneIn2 = planeswap;