Commit f2a0e5a3 authored by Paul Adenot's avatar Paul Adenot
Browse files

Bug 1835663 - Use the correct value for nudging composition time across MOOFs....

Bug 1835663 - Use the correct value for nudging composition time across MOOFs. r=media-playback-reviewers,azebrowski

Differential Revision: https://phabricator.services.mozilla.com/D179465
parent b84908da
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -495,8 +495,7 @@ Moof::Moof(Box& aBox, const TrackParseMode& aTrackParseMode, Trex& aTrex,
            // sample in a Moof, and the first sample in the next Moof, if
            // they're within these many Microseconds of each other.
            const TimeUnit CROSS_MOOF_CTS_MERGE_THRESHOLD =
                TimeUnit::FromSeconds(aMvhd.mTimescale / 1000000.,
                                      aMvhd.mTimescale);
                TimeUnit::FromMicroseconds(1);
            // We have previously parsed a Moof for this track. Smooth the gap
            // between samples for this track across the Moof bounary.
            if (ctsOrder[0]->mCompositionRange.start > prevCts.mCtsEndTime &&