<?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>18577</bug_id>
          
          <creation_ts>2012-08-15 15:05:19 +0000</creation_ts>
          <short_desc>Redundant requirements to seek when duration changes</short_desc>
          <delta_ts>2012-09-17 08:03:17 +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>Linux</op_sys>
          <bug_status>VERIFIED</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="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="Aaron Colwell (c)">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>72203</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-08-15 15:05:19 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#source-buffer-duration-updates

&quot;If the current playback position is beyond the new duration, then update HTMLMediaElement.currentTime to the new duration and run the seeking algorithm.&quot;

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#durationChange

&quot;If the duration is changed such that the current playback position ends up being greater than the time of the end of the media resource, then the user agent must also seek the to the time of the end of the media resource.&quot;

It would be possible to just remove the redundant requirement from MSE, but referencing HTML in a note for clarity is also fine.

(Also, the quoted text looks a lot like an implementation requirement in what is actually a non-normative overview.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73934</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2012-09-14 17:24:26 +0000</bug_when>
    <thetext>I believe this was addressed in the changes for https://www.w3.org/Bugs/Public/show_bug.cgi?id=18576 . The referenced section and text aren&apos;t in the spec anymore and the duration change algorithm references the appropriate text in the HTML5 spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>