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 23554 - Coded frame processing step 14 is very hard to parse
Summary: Coded frame processing step 14 is very hard to parse
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC All
: P2 minor
Target Milestone: LC
Assignee: Aaron Colwell
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-17 20:19 UTC by Mark Watson
Modified: 2013-10-28 21:22 UTC (History)
3 users (show)

See Also:


Attachments

Description Mark Watson 2013-10-17 20:19:09 UTC
"If last decode timestamp for track buffer is unset and there is a coded frame in track buffer with a presentation timestamp less than or equal to presentation timestamp and presentation timestamp is less than this coded frame's presentation timestamp plus its frame duration, then run the following steps:"

I suggest defining the "presentation interval" of a frame somewhere and replacing the above with:

"If last decode timestamp for track buffer is unset and presentation timestamp falls within the presentation interval of a coed frame in track buffer, then run the following steps:"

"Presentation interval" would be defined as follows:

"The presentation interval of a frame is the time interval from the presentation time of the frame to the presentation time of the frame plus its frame duration."

We might want to define it as the open range which includes the start value but not the end value (i.e. [ p, p + d ) for p = presentation time, d = frame duration).
Comment 1 Aaron Colwell 2013-10-28 21:22:10 UTC
Changes committed.
https://dvcs.w3.org/hg/html-media/rev/bed8606bd0a7

Added presentation interval definition and updated a few other places in the text where this term simplifies the text.

I also added a definition for "coded frame duration" and updated various places in the text to explicitly use this term since frame duration was not actually defined anywhere but was used in several algorithms.