Skip to content

Commit

Permalink
[giow] (0) Move the requirement that tracks be loaded to blocking HAV…
Browse files Browse the repository at this point in the history
…E_FUTURE_DATA rather than HAVE_CURRENT_DATA. (WIP)

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14260

git-svn-id: http://svn.whatwg.org/webapps@6767 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 26, 2011
1 parent a2f587f commit 533df95
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 46 deletions.
28 changes: 13 additions & 15 deletions complete.html
Expand Up @@ -27697,8 +27697,8 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the

<dt id=getting-media-metadata>Once enough of the <a href=#media-data>media
data</a> has been fetched to determine the duration of the
<a href=#media-resource>media resource</a>, its dimensions, and other metadata,
and once <a href=#the-text-tracks-are-ready>the text tracks are ready</a> </dt>
<a href=#media-resource>media resource</a>, its dimensions, and other
metadata </dt>

<dd>

Expand Down Expand Up @@ -28442,10 +28442,7 @@ <h5 id=ready-states><span class=secno>4.8.10.7 </span>Ready states</h5>
element, the dimensions of the video are also available. The API
will no longer throw an exception when seeking. No <a href=#media-data>media
data</a> is available for the immediate <a href=#current-playback-position>current playback
position</a>.
The <a href=#text-track title="text track">text tracks</a>
are <a href=#the-text-tracks-are-ready title="the text tracks are ready">ready</a>.
</dd>
position</a>.</dd>

<dt><dfn id=dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 2)</dt>

Expand All @@ -28468,15 +28465,16 @@ <h5 id=ready-states><span class=secno>4.8.10.7 </span>Ready states</h5>
the <a href=#current-playback-position>current playback position</a> in the <a href=#direction-of-playback>direction
of playback</a> at least a little without immediately reverting
to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>
state. For example, in video this corresponds to the user agent
having data for at least the current frame and the next frame when
the <a href=#current-playback-position>current playback position</a> is at the instant in
time between the two frames, or to the user agent having the video
data for the current frame and audio data to keep playing at least
a little when the <a href=#current-playback-position>current playback position</a> is in the
middle of a frame. The user agent cannot be in this state if <a href=#ended-playback title="ended playback">playback has ended</a>, as the
<a href=#current-playback-position>current playback position</a> can never advance in this
case.</dd>
state, and <a href=#the-text-tracks-are-ready>the text tracks are ready</a>. For example, in
video this corresponds to the user agent having data for at least
the current frame and the next frame when the <a href=#current-playback-position>current
playback position</a> is at the instant in time between the two
frames, or to the user agent having the video data for the current
frame and audio data to keep playing at least a little when the
<a href=#current-playback-position>current playback position</a> is in the middle of a frame.
The user agent cannot be in this state if <a href=#ended-playback title="ended
playback">playback has ended</a>, as the <a href=#current-playback-position>current playback
position</a> can never advance in this case.</dd>

<dt><dfn id=dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 4)</dt>

Expand Down
28 changes: 13 additions & 15 deletions index
Expand Up @@ -27697,8 +27697,8 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

<dt id=getting-media-metadata>Once enough of the <a href=#media-data>media
data</a> has been fetched to determine the duration of the
<a href=#media-resource>media resource</a>, its dimensions, and other metadata,
and once <a href=#the-text-tracks-are-ready>the text tracks are ready</a> </dt>
<a href=#media-resource>media resource</a>, its dimensions, and other
metadata </dt>

<dd>

Expand Down Expand Up @@ -28442,10 +28442,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
element, the dimensions of the video are also available. The API
will no longer throw an exception when seeking. No <a href=#media-data>media
data</a> is available for the immediate <a href=#current-playback-position>current playback
position</a>.
The <a href=#text-track title="text track">text tracks</a>
are <a href=#the-text-tracks-are-ready title="the text tracks are ready">ready</a>.
</dd>
position</a>.</dd>

<dt><dfn id=dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 2)</dt>

Expand All @@ -28468,15 +28465,16 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
the <a href=#current-playback-position>current playback position</a> in the <a href=#direction-of-playback>direction
of playback</a> at least a little without immediately reverting
to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>
state. For example, in video this corresponds to the user agent
having data for at least the current frame and the next frame when
the <a href=#current-playback-position>current playback position</a> is at the instant in
time between the two frames, or to the user agent having the video
data for the current frame and audio data to keep playing at least
a little when the <a href=#current-playback-position>current playback position</a> is in the
middle of a frame. The user agent cannot be in this state if <a href=#ended-playback title="ended playback">playback has ended</a>, as the
<a href=#current-playback-position>current playback position</a> can never advance in this
case.</dd>
state, and <a href=#the-text-tracks-are-ready>the text tracks are ready</a>. For example, in
video this corresponds to the user agent having data for at least
the current frame and the next frame when the <a href=#current-playback-position>current
playback position</a> is at the instant in time between the two
frames, or to the user agent having the video data for the current
frame and audio data to keep playing at least a little when the
<a href=#current-playback-position>current playback position</a> is in the middle of a frame.
The user agent cannot be in this state if <a href=#ended-playback title="ended
playback">playback has ended</a>, as the <a href=#current-playback-position>current playback
position</a> can never advance in this case.</dd>

<dt><dfn id=dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 4)</dt>

Expand Down
29 changes: 13 additions & 16 deletions source
Expand Up @@ -29934,8 +29934,8 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>

<dt id="getting-media-metadata">Once enough of the <span>media
data</span> has been fetched to determine the duration of the
<span>media resource</span>, its dimensions, and other metadata,
and once <span>the text tracks are ready</span> </dt>
<span>media resource</span>, its dimensions, and other
metadata</span> </dt>

<dd>

Expand Down Expand Up @@ -30817,10 +30817,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
element, the dimensions of the video are also available. The API
will no longer throw an exception when seeking. No <span>media
data</span> is available for the immediate <span>current playback
position</span>.
The <span title="text track">text tracks</span>
are <span title="the text tracks are ready">ready</span>.
</dd>
position</span>.</dd>

<dt><dfn title="dom-media-HAVE_CURRENT_DATA"><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 2)</dt>

Expand All @@ -30844,16 +30841,16 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
the <span>current playback position</span> in the <span>direction
of playback</span> at least a little without immediately reverting
to the <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code>
state. For example, in video this corresponds to the user agent
having data for at least the current frame and the next frame when
the <span>current playback position</span> is at the instant in
time between the two frames, or to the user agent having the video
data for the current frame and audio data to keep playing at least
a little when the <span>current playback position</span> is in the
middle of a frame. The user agent cannot be in this state if <span
title="ended playback">playback has ended</span>, as the
<span>current playback position</span> can never advance in this
case.</dd>
state, and <span>the text tracks are ready</span>. For example, in
video this corresponds to the user agent having data for at least
the current frame and the next frame when the <span>current
playback position</span> is at the instant in time between the two
frames, or to the user agent having the video data for the current
frame and audio data to keep playing at least a little when the
<span>current playback position</span> is in the middle of a frame.
The user agent cannot be in this state if <span title="ended
playback">playback has ended</span>, as the <span>current playback
position</span> can never advance in this case.</dd>

<dt><dfn title="dom-media-HAVE_ENOUGH_DATA"><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 4)</dt>

Expand Down

0 comments on commit 533df95

Please sign in to comment.