am 996fb989: (-s ours) DO NOT MERGE. Fix for 5247764 profile and level settings are not always correctly set
* commit '996fb989eb4cbe80c91cfe3ef4d32f349dffa72d':
DO NOT MERGE. Fix for 5247764 profile and level settings are not always correctly set
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;