[Bug 18587] Define clearly what data is removed when setting an explicit duration

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18587

--- Comment #5 from Aaron Colwell <acolwell@chromium.org> 2012-09-21 22:51:26 UTC ---
(In reply to comment #4)
> Adding a non-normative note cannot make a difference in what "Remove all media
> data with timestamps that are greater than new duration from all SourceBuffer
> objects in sourceBuffers" means. I don't see why removing data or the concept
> of audio frames need to be mentioned at all, if the desired effect is that
> playback should only proceed to duration. Certainly an implementation would be
> wise to throw away as much data as it can, which may be worth mentioning in a
> note.
I see your point. I forgot for a moment that the note implies non-normative.

Here is my main motivation for specifying that data is actually removed from
the buffer. Say I have a SourceBuffer with data from [0-10) and a duration of
10. I decide to set the duration to 5. Then for some reason I change my mind
and set it to 7. It seems to make more sense to me that the buffer contain
[0,5) after this sequence. By not indicating that the data is removed from the
buffer on duration change, some might believe that the buffer could contain
[0,7) which I don't want to encourage.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 21 September 2012 22:51:27 UTC