Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fd34e7a authored by Dharmaray Kundargi's avatar Dharmaray Kundargi Committed by Android Git Automerger
Browse files

am 2d8bedf2: Merge "Fix issue 3404563. Overlay is not seen when the clip is...

am 2d8bedf2: Merge "Fix issue 3404563. Overlay is not seen when the clip is trimmed in the beginning." into honeycomb

* commit '2d8bedf2ea94d32236f972cbd6f0ad1ae58abb7d':
  Fix issue 3404563. Overlay is not seen when the clip is trimmed in the beginning.
parents 74134192 8a838ad9
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -926,9 +926,11 @@ void PreviewPlayer::onVideoEvent() {
                M4OSA_UInt32 timeOffset = mDecVideoTsStoryBoard/1000;
                if(mEffectsSettings[index].VideoEffectType ==
                    M4xVSS_kVideoEffectType_Framing) {
                    if (((mEffectsSettings[index].uiStartTime + 1) <= timeMs + timeOffset) &&
                    if (((mEffectsSettings[index].uiStartTime + 1) <=
                        timeMs + timeOffset - mPlayBeginTimeMsec) &&
                        ((mEffectsSettings[index].uiStartTime - 1 +
                        mEffectsSettings[index].uiDuration) >= timeMs + timeOffset))
                        mEffectsSettings[index].uiDuration) >=
                        timeMs + timeOffset - mPlayBeginTimeMsec))
                    {
                        break;
                    }