Bug 135424

Summary: [MSE] Re-enqueing due to overlapping appended samples can cause stuttering playback
Product: WebKit Reporter: Jer Noble <jer.noble>
Component: New BugsAssignee: Jer Noble <jer.noble>
Status: REOPENED    
Severity: Normal CC: buildbot, calvaris, commit-queue, eric.carlson, glenn, ltilve, philipj, rniwa, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2
none
Patch for landing none

Jer Noble
Reported 2014-07-30 11:33:41 PDT
[MSE] Re-enqueing due to overlapping appended samples can cause stuttering playback
Attachments
Patch (4.13 KB, patch)
2014-07-30 11:39 PDT, Jer Noble
no flags
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2 (482.24 KB, application/zip)
2014-07-30 12:43 PDT, Build Bot
no flags
Patch for landing (6.05 KB, patch)
2014-08-04 09:07 PDT, Jer Noble
no flags
Jer Noble
Comment 1 2014-07-30 11:39:57 PDT
Build Bot
Comment 2 2014-07-30 12:43:23 PDT
Comment on attachment 235754 [details] Patch Attachment 235754 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5310733680115712 New failing tests: media/media-fragments/TC0001.html
Build Bot
Comment 3 2014-07-30 12:43:27 PDT
Created attachment 235757 [details] Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-11 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Radar WebKit Bug Importer
Comment 4 2014-07-31 01:51:44 PDT
Eric Carlson
Comment 5 2014-08-01 16:18:28 PDT
Comment on attachment 235754 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235754&action=review Does it matter that you ignore the "time" parameter? > Source/WebCore/Modules/mediasource/SourceBuffer.cpp:1403 > + if (nextSyncSampleIter != trackBuffer.samples.decodeOrder().end()) { Nit: you use trackBuffer.samples.decodeOrder().end() here and in the loop below, might as well cache it in a variable.
Jer Noble
Comment 6 2014-08-04 09:07:58 PDT
Created attachment 235975 [details] Patch for landing
Jer Noble
Comment 7 2014-08-04 09:08:34 PDT
(In reply to comment #5) > (From update of attachment 235754 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=235754&action=review > > Does it matter that you ignore the "time" parameter? No, but to clarify what's going on, I extracted that if statement into its own method. > > Source/WebCore/Modules/mediasource/SourceBuffer.cpp:1403 > > + if (nextSyncSampleIter != trackBuffer.samples.decodeOrder().end()) { > > Nit: you use trackBuffer.samples.decodeOrder().end() here and in the loop below, might as well cache it in a variable. Ok.
Jer Noble
Comment 8 2014-08-04 10:26:57 PDT
Comment on attachment 235975 [details] Patch for landing Clearing flags on attachment: 235975 Committed r171995: <http://trac.webkit.org/changeset/171995>
Jer Noble
Comment 9 2014-08-04 10:27:04 PDT
All reviewed patches have been landed. Closing bug.
Jer Noble
Comment 10 2014-08-04 15:00:03 PDT
Rolled out in r172007 <http://trac.webkit.org/r172007>. Re-opening.
Note You need to log in before you can comment on or make changes to this bug.