Bug 219861

Summary: [Media in GPU Process][MSE] VP9 stream playback is not smooth
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: MediaAssignee: Peng Liu <peng.liu6>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
eric.carlson: review+
Patch for landing none

Description Peng Liu 2020-12-14 10:36:26 PST
The return value of MediaSource::buffered() is not updated correctly when the webm source buffer parser is running in the GPU Process.
Comment 1 Radar WebKit Bug Importer 2020-12-14 10:36:53 PST
<rdar://problem/72303946>
Comment 2 Peng Liu 2020-12-14 15:17:50 PST
Created attachment 416199 [details]
Patch
Comment 3 Eric Carlson 2020-12-14 15:25:51 PST
Comment on attachment 416199 [details]
Patch

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

> Source/WebCore/ChangeLog:8
> +        No new tests, no new behaviors.

"no new behaviors" is not quite true, since presumably this makes VP9 playback better.

It may not be possible to create a non-flaky test for "more smooth", but I think it would be better to say something like that.
Comment 4 Peng Liu 2020-12-14 15:45:13 PST
Comment on attachment 416199 [details]
Patch

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

>> Source/WebCore/ChangeLog:8
>> +        No new tests, no new behaviors.
> 
> "no new behaviors" is not quite true, since presumably this makes VP9 playback better.
> 
> It may not be possible to create a non-flaky test for "more smooth", but I think it would be better to say something like that.

No new behavior in the WebCore part. :-)

Agree. By the way, I think the layout tests can catch the issue if the "media in GPU Process" feature is enabled.
Comment 5 Peng Liu 2020-12-14 15:52:33 PST
Created attachment 416200 [details]
Patch for landing
Comment 6 EWS 2020-12-14 19:09:05 PST
Committed r270819: <https://trac.webkit.org/changeset/270819>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 416200 [details].