[MSE] Update duration after appending samples, per spec.
Created attachment 219187 [details] Patch
Comment on attachment 219187 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=219187&action=review > Source/WebCore/Modules/mediasource/SourceBuffer.cpp:1010 > + if (highestPresentationEndTimestamp().toDouble() > m_source->duration()) > + m_source->setDuration(highestPresentationEndTimestamp().toDouble(), IgnorableExceptionCode()); Nit: it will be more efficient to put the timestamp in a variable instead of calculating it twice. > LayoutTests/media/media-source/media-source-duration-after-append.html:16 > + function runTest() { Nit: wrong place for the opening brace.
Comment on attachment 219187 [details] Patch Clearing flags on attachment: 219187 Committed r160739: <http://trac.webkit.org/changeset/160739>
All reviewed patches have been landed. Closing bug.