Bug 277140
Summary: | [MSE] Incorrect calculations in evictable content when using mp4 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jean-Yves Avenard [:jya]
Seens in the console:
```
024-07-26 21:39:05.863854+1000 0x4B5EF1 Default 0x0 72312 0 com.apple.WebKit.GPU.Development: (CoreMedia) [com.apple.coremedia:excessive] <<<< SampleBuffer >>>> CMSampleBufferCallForEachSample signalled err=1 (err) ([aborting loop early due to error from callback]) at FigSampleBuffer.c:5237
0 CoreMedia 0x000000019bba036c CMSampleBufferCallForEachSample + 1504 [0x19bafb000 + 676716]
1 WebCore 0x00000003029f071c _ZN3PAL55softLink_CoreMedia_CMSampleBufferCallBlockForEachSampleEP20opaqueCMSampleBufferU13block_pointerFiS1_lE + 48 [0x300000000 + 43976476]
```
To calculate how much data can be evicted from a source buffer we iterate over the samples to see which is to be ignored.
It appears that `CMSampleBufferCallForEachSample` performs a speed throttling which cause the calculation to return 0 (and leading to a sync call)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/132565283>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/31290