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

Commit 9e4c36a0 authored by Andreas Huber's avatar Andreas Huber
Browse files

This copy of our internal code does not handle seek-preview while paused well.

disabling that functionality.

Change-Id: Ie1d2bda6866e3754fb6237ab827c3c93a38104d8
related-to-bug: 3427268
parent 9f57f820
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -736,6 +736,11 @@ void PreviewPlayer::onVideoEvent() {
    }
    mVideoEventPending = false;

    if (mFlags & SEEK_PREVIEW) {
        mFlags &= ~SEEK_PREVIEW;
        return;
    }

    TimeSource *ts_st =  &mSystemTimeSource;
    int64_t timeStartUs = ts_st->getRealTimeUs();