<?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>21376</bug_id>
          
          <creation_ts>2013-03-22 17:35:40 +0000</creation_ts>
          <short_desc>Use of last decode timestamp</short_desc>
          <delta_ts>2013-04-08 21:21:45 +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>PC</rep_platform>
          <op_sys>Windows NT</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cyril Concolato">cyril.concolato</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>84852</commentid>
    <comment_count>0</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2013-03-22 17:35:40 +0000</bug_when>
    <thetext>It is not clear why appending a coded frame whose decode timestamp is between the last decode timestamp and last decode timestamp + 100ms should trigger an error. What is the rationale for &apos;100 ms&apos; ?

Also, since the tests are made in decode order, maybe the Append Sequence definition should be clarified to say &quot;monotonically increasing in *decode* time&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84939</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-03-25 19:25:53 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; It is not clear why appending a coded frame whose decode timestamp is
&gt; between the last decode timestamp and last decode timestamp + 100ms should
&gt; trigger an error. What is the rationale for &apos;100 ms&apos; ?

Like the note states, this is to detect out of order appends. 100ms seemed like a reasonable default that allows a little bit of flexibility on how far apart coded frames are.

&gt; 
&gt; Also, since the tests are made in decode order, maybe the Append Sequence
&gt; definition should be clarified to say &quot;monotonically increasing in *decode*
&gt; time&quot;.

I&apos;ll add this in the next spec update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85001</commentid>
    <comment_count>2</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2013-03-26 08:09:48 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; (In reply to comment #0)
&gt; &gt; It is not clear why appending a coded frame whose decode timestamp is
&gt; &gt; between the last decode timestamp and last decode timestamp + 100ms should
&gt; &gt; trigger an error. What is the rationale for &apos;100 ms&apos; ?
&gt; 
&gt; Like the note states, this is to detect out of order appends. 100ms seemed
&gt; like a reasonable default that allows a little bit of flexibility on how far
&gt; apart coded frames are.
I thought the note was about the first part (decode timestamp &lt; last decode timestamp). It&apos;s a bit akward to me to have to rely on hard-coded numbers to detect out-of-order appends. What if you have very low frame rates? Why not have a gap-threshold attribute or use something like last decode timestamp + 2xduration of the previous frame?

&gt; &gt; 
&gt; &gt; Also, since the tests are made in decode order, maybe the Append Sequence
&gt; &gt; definition should be clarified to say &quot;monotonically increasing in *decode*
&gt; &gt; time&quot;.
&gt; 
&gt; I&apos;ll add this in the next spec update.
Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85018</commentid>
    <comment_count>3</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-03-26 17:58:38 +0000</bug_when>
    <thetext>Changes committed.
https://dvcs.w3.org/hg/html-media/rev/1e6898152c5b

Decode time clarification to Append Sequence added.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85743</commentid>
    <comment_count>4</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-04-08 21:21:45 +0000</bug_when>
    <thetext>Change committed.
https://dvcs.w3.org/hg/html-media/rev/f7f2b7226543

Converted 100ms limit to 2x last frame duration limit.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>