Changeset 220338 in webkit


Ignore:
Timestamp:
Aug 7, 2017 9:42:30 AM (7 years ago)
Author:
matthew_hanson@apple.com
Message:

Cherry-pick r220153. rdar://problem/33711047

Location:
branches/safari-604-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-604-branch/Source/WebCore/ChangeLog

    r220229 r220338  
     12017-08-07  Jason Marcell  <jmarcell@apple.com>
     2
     3        Cherry-pick r220153. rdar://problem/33711047
     4
     5    2017-08-02  Jer Noble  <jer.noble@apple.com>
     6
     7            [MSE] Removing samples when presentation order does not match decode order can cause bad behavior.
     8            https://bugs.webkit.org/show_bug.cgi?id=175091
     9
     10            Reviewed by Eric Carlson.
     11
     12            Address follow-up comments to r219519.
     13
     14            * Modules/mediasource/SourceBuffer.cpp:
     15            (WebCore::SourceBuffer::removeCodedFrames):
     16
    1172017-08-02  Jason Marcell  <jmarcell@apple.com>
    218
  • branches/safari-604-branch/Source/WebCore/Modules/mediasource/SourceBuffer.cpp

    r219519 r220338  
    771771        auto removePresentationStart = trackBuffer.samples.presentationOrder().findSampleContainingOrAfterPresentationTime(start);
    772772        auto removePresentationEnd = trackBuffer.samples.presentationOrder().findSampleStartingAfterPresentationTime(end);
    773         if (start == end)
     773        if (removePresentationStart == removePresentationEnd)
    774774            continue;
    775775
Note: See TracChangeset for help on using the changeset viewer.