<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25995</bug_id>
          
          <creation_ts>2014-06-05 17:52:20 +0000</creation_ts>
          <short_desc>Coded Frame Processing algorithm leaves in place overlapping samples</short_desc>
          <delta_ts>2014-06-13 20:16:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>CR</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jer Noble">jer.noble</reporter>
          <assigned_to name="Aaron Colwell">acolwell</assigned_to>
          <cc>acolwell</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>107389</commentid>
    <comment_count>0</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2014-06-05 17:52:20 +0000</bug_when>
    <thetext>§15 part 2 of the Coded Frame Processing algorithm states:

&quot;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.&quot;

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

I propose the text be changed to:

&quot;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.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107412</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2014-06-06 01:47:45 +0000</bug_when>
    <thetext>Thanks for providing such a detailed example. :)

I&apos;ll include the proposed change in my next set of spec updates.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107808</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2014-06-13 20:16:07 +0000</bug_when>
    <thetext>Changes committed.
https://dvcs.w3.org/hg/html-media/rev/4edf0ef324dd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>