Sub-task of bug 236754. In bug 237594; the MediaFormatReader was made to use MediaSamplesBlock as backend via MediaSampleRangeRequest's refactor. However, it only ever uses the last sample of the block, which is okay for now as there's no producer that create MediaSamplesBlock with more than one sample in it. However, the resolution for bug 236754 will change that pre-requisite. So we need the MediaSampleCursor to properly iterate over all the samples contained in the block.
<rdar://problem/90058029>
Created attachment 454317 [details] Patch
Committed r291132 (248292@main): <https://commits.webkit.org/248292@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 454317 [details].