Bug 135572 - [MSE] Further fixes for "fast forward" playback after seeking in YouTube behavior.
Summary: [MSE] Further fixes for "fast forward" playback after seeking in YouTube beha...
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-08-04 13:17 PDT by Jer Noble
Modified: 2015-01-26 08:50 PST (History)
9 users (show)

See Also:


Attachments
Patch (2.93 KB, patch)
2014-08-04 13:30 PDT, Jer Noble
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jer Noble 2014-08-04 13:17:12 PDT
[MSE] Further fixes for "fast forward" playback after seeking in YouTube behavior.
Comment 1 Jer Noble 2014-08-04 13:30:25 PDT
Created attachment 235984 [details]
Patch
Comment 2 Eric Carlson 2014-08-04 13:36:42 PDT
Comment on attachment 235984 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=235984&action=review

> Source/WebCore/Modules/mediasource/SourceBuffer.cpp:1211
> +        if (presentationTimestamp > MediaTime::createWithDouble(m_source->currentTime())) {

Should this be >= instead of > ?
Comment 3 Jer Noble 2014-08-04 13:39:11 PDT
(In reply to comment #2)
> (From update of attachment 235984 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=235984&action=review
> 
> > Source/WebCore/Modules/mediasource/SourceBuffer.cpp:1211
> > +        if (presentationTimestamp > MediaTime::createWithDouble(m_source->currentTime())) {
> 
> Should this be >= instead of > ?

Good point.  In fact, this should probably be >, but checking against frameEndTimestamp. I.e., if the frame spans the currentTime (where the start time is <= but the end time is >), we should add the sample to the decode queue.
Comment 4 Jer Noble 2014-08-04 13:55:21 PDT
Committed r172000: <http://trac.webkit.org/changeset/172000>
Comment 5 Jer Noble 2014-08-04 14:59:51 PDT
Rolled out in r172007 <http://trac.webkit.org/r172007>. Re-opening.
Comment 6 Jon Lee 2014-08-04 15:59:33 PDT
<rdar://problem/17856763>