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

Commit f85a83af authored by Hangyu Kuang's avatar Hangyu Kuang Committed by Lajos Molnar
Browse files

stagefright: Document that MPEG4Writer does not support muxing out of order frames.

Bug:27597166
Change-Id: I6a771a39022d26d70007058b418b96c3b4387d87
parent 138cfd7d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2550,8 +2550,8 @@ status_t MPEG4Writer::Track::threadEntry() {
            ((timestampUs * mTimeScale + 500000LL) / 1000000LL -
                (lastTimestampUs * mTimeScale + 500000LL) / 1000000LL);
        if (currDurationTicks < 0ll) {
            ALOGE("timestampUs %" PRId64 " < lastTimestampUs %" PRId64 " for %s track",
                timestampUs, lastTimestampUs, trackName);
            ALOGE("do not support out of order frames (timestamp: %lld < last: %lld for %s track",
                    (long long)timestampUs, (long long)lastTimestampUs, trackName);
            copy->release();
            mSource->stop();
            return UNKNOWN_ERROR;