This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25995 - Coded Frame Processing algorithm leaves in place overlapping samples
Summary: Coded Frame Processing algorithm leaves in place overlapping samples
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: CR
Assignee: Aaron Colwell
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-05 17:52 UTC by Jer Noble
Modified: 2014-06-13 20:16 UTC (History)
3 users (show)

See Also:


Attachments

Description Jer Noble 2014-06-05 17:52:20 UTC
ยง15 part 2 of the Coded Frame Processing algorithm states:

"If highest presentation timestamp for track buffer is set and less than presentation timestamp[,] Remove all coded frames from track buffer that have a presentation timestamp greater than highest presentation timestamp and less than or equal to frame end timestamp."

This results in overlapping samples being left in the track buffer.  See a demonstration at <https://gist.github.com/jernoble/50752b97d73c76673e5e>.

I propose the text be changed to:

"If highest presentation timestamp for track buffer is set and less than [ADD]or equal to[/ADD] presentation timestamp[,] Remove all coded frames from track buffer that have a presentation timestamp greater than [ADD]or equal to[ADD] highest presentation timestamp and less than [STRIKE]or equal to[/STRIKE] frame end timestamp."
Comment 1 Aaron Colwell 2014-06-06 01:47:45 UTC
Thanks for providing such a detailed example. :)

I'll include the proposed change in my next set of spec updates.
Comment 2 Aaron Colwell 2014-06-13 20:16:07 UTC
Changes committed.
https://dvcs.w3.org/hg/html-media/rev/4edf0ef324dd