[html5] r8754 - [giow] (2) Try to define what happens when you have tracks that don't cover the [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 8 14:47:45 PDT 2014


Author: ianh
Date: 2014-09-08 14:47:40 -0700 (Mon, 08 Sep 2014)
New Revision: 8754

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Try to define what happens when you have tracks that don't cover the whole media timeline
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=26460
Affected topics: Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2014-09-05 23:01:12 UTC (rev 8753)
+++ complete.html	2014-09-08 21:47:40 UTC (rev 8754)
@@ -291,7 +291,7 @@
   </style><link rel=stylesheet href=status.css><body onload=init()>
   <header id=head class="head with-buttons">
    <p><a href=//www.whatwg.org/ class=logo><img src=/images/logo width=101 alt=WHATWG height=101></a></p>
-   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>5 September 2014</span></h2></hgroup>
+   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>8 September 2014</span></h2></hgroup>
    
    <nav>
     <div>
@@ -24139,6 +24139,10 @@
   disabled is enabled, and whenever one that was enabled is disabled, the user agent must
   <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task>queue a task</a> to <a href=#fire-a-simple-event id=audiotracklist-and-videotracklist-objects:fire-a-simple-event>fire a simple event</a> named <code id=audiotracklist-and-videotracklist-objects:event-media-change><a href=#event-media-change>change</a></code> at the <code id=audiotracklist-and-videotracklist-objects:audiotracklist-12><a href=#audiotracklist>AudioTrackList</a></code> object.</p>
 
+  <p>An audio track that has no data for a particular position on the <a href=#media-timeline id=audiotracklist-and-videotracklist-objects:media-timeline>media timeline</a>,
+  or that does not exist at that position, must be interpreted as being silent at that point on the
+  timeline.</p>
+
   <p>The <dfn id=dom-videotracklist-selectedindex><code>VideoTrackList.selectedIndex</code></dfn> attribute
   must return the index of the currently selected track, if any. If the <code id=audiotracklist-and-videotracklist-objects:videotracklist-11><a href=#videotracklist>VideoTrackList</a></code>
   object does not currently represent any tracks, or if none of the tracks are selected, it must
@@ -24159,6 +24163,17 @@
   <code id=audiotracklist-and-videotracklist-objects:videotracklist-16><a href=#videotracklist>VideoTrackList</a></code> object. This <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task>task</a> must be <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-3>queued</a> before the <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task-2>task</a> that fires
   the <code id=audiotracklist-and-videotracklist-objects:event-media-resize><a href=#event-media-resize>resize</a></code> event, if any.</p>
 
+  <p>A video track that has no data for a particular position on the <a href=#media-timeline id=audiotracklist-and-videotracklist-objects:media-timeline-2>media timeline</a>
+  must be interpreted as being fully transparent black at that point on the timeline, with the same
+  dimensions as the last frame before that position, or, if the position is before all the data for
+  that track, the same dimensions as the first frame for that track. A track that does not exist at
+  all at the current position must be treated as if it existed but had no data.</p>
+
+  <p class=example>For instance, if a video has a track that is only introduced after one hour of
+  playback, and the user selects that track then goes back to the start, then the user agent will
+  act as if that track started at the start of the <a href=#media-resource id=audiotracklist-and-videotracklist-objects:media-resource-10>media resource</a> but was simply
+  transparent until one hour in.</p>
+
   <hr>
 
   <p>The following are the <a href=#event-handlers id=audiotracklist-and-videotracklist-objects:event-handlers>event handlers</a> (and their corresponding <a href=#event-handler-event-type id=audiotracklist-and-videotracklist-objects:event-handler-event-type>event handler event types</a>) that must be supported, as <a href=#event-handler-idl-attributes id=audiotracklist-and-videotracklist-objects:event-handler-idl-attributes>event handler IDL attributes</a>,
@@ -84883,6 +84898,3 @@
 
 
 
-
-
-

Modified: index
===================================================================
--- index	2014-09-05 23:01:12 UTC (rev 8753)
+++ index	2014-09-08 21:47:40 UTC (rev 8754)
@@ -291,7 +291,7 @@
   </style><link rel=stylesheet href=status.css><body onload=init()>
   <header id=head class="head with-buttons">
    <p><a href=//www.whatwg.org/ class=logo><img src=/images/logo width=101 alt=WHATWG height=101></a></p>
-   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>5 September 2014</span></h2></hgroup>
+   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>8 September 2014</span></h2></hgroup>
    
    <nav>
     <div>
@@ -24139,6 +24139,10 @@
   disabled is enabled, and whenever one that was enabled is disabled, the user agent must
   <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task>queue a task</a> to <a href=#fire-a-simple-event id=audiotracklist-and-videotracklist-objects:fire-a-simple-event>fire a simple event</a> named <code id=audiotracklist-and-videotracklist-objects:event-media-change><a href=#event-media-change>change</a></code> at the <code id=audiotracklist-and-videotracklist-objects:audiotracklist-12><a href=#audiotracklist>AudioTrackList</a></code> object.</p>
 
+  <p>An audio track that has no data for a particular position on the <a href=#media-timeline id=audiotracklist-and-videotracklist-objects:media-timeline>media timeline</a>,
+  or that does not exist at that position, must be interpreted as being silent at that point on the
+  timeline.</p>
+
   <p>The <dfn id=dom-videotracklist-selectedindex><code>VideoTrackList.selectedIndex</code></dfn> attribute
   must return the index of the currently selected track, if any. If the <code id=audiotracklist-and-videotracklist-objects:videotracklist-11><a href=#videotracklist>VideoTrackList</a></code>
   object does not currently represent any tracks, or if none of the tracks are selected, it must
@@ -24159,6 +24163,17 @@
   <code id=audiotracklist-and-videotracklist-objects:videotracklist-16><a href=#videotracklist>VideoTrackList</a></code> object. This <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task>task</a> must be <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-3>queued</a> before the <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task-2>task</a> that fires
   the <code id=audiotracklist-and-videotracklist-objects:event-media-resize><a href=#event-media-resize>resize</a></code> event, if any.</p>
 
+  <p>A video track that has no data for a particular position on the <a href=#media-timeline id=audiotracklist-and-videotracklist-objects:media-timeline-2>media timeline</a>
+  must be interpreted as being fully transparent black at that point on the timeline, with the same
+  dimensions as the last frame before that position, or, if the position is before all the data for
+  that track, the same dimensions as the first frame for that track. A track that does not exist at
+  all at the current position must be treated as if it existed but had no data.</p>
+
+  <p class=example>For instance, if a video has a track that is only introduced after one hour of
+  playback, and the user selects that track then goes back to the start, then the user agent will
+  act as if that track started at the start of the <a href=#media-resource id=audiotracklist-and-videotracklist-objects:media-resource-10>media resource</a> but was simply
+  transparent until one hour in.</p>
+
   <hr>
 
   <p>The following are the <a href=#event-handlers id=audiotracklist-and-videotracklist-objects:event-handlers>event handlers</a> (and their corresponding <a href=#event-handler-event-type id=audiotracklist-and-videotracklist-objects:event-handler-event-type>event handler event types</a>) that must be supported, as <a href=#event-handler-idl-attributes id=audiotracklist-and-videotracklist-objects:event-handler-idl-attributes>event handler IDL attributes</a>,
@@ -84883,6 +84898,3 @@
 
 
 
-
-
-

Modified: source
===================================================================
--- source	2014-09-05 23:01:12 UTC (rev 8753)
+++ source	2014-09-08 21:47:40 UTC (rev 8754)
@@ -31131,6 +31131,10 @@
   <span>queue a task</span> to <span>fire a simple event</span> named <code
   data-x="event-media-change">change</code> at the <code>AudioTrackList</code> object.</p>
 
+  <p>An audio track that has no data for a particular position on the <span>media timeline</span>,
+  or that does not exist at that position, must be interpreted as being silent at that point on the
+  timeline.</p>
+
   <p>The <dfn><code data-x="dom-VideoTrackList-selectedIndex">VideoTrackList.selectedIndex</code></dfn> attribute
   must return the index of the currently selected track, if any. If the <code>VideoTrackList</code>
   object does not currently represent any tracks, or if none of the tracks are selected, it must
@@ -31152,6 +31156,17 @@
   data-x="queue a task">queued</span> before the <span data-x="concept-task">task</span> that fires
   the <code data-x="event-media-resize">resize</code> event, if any.</p>
 
+  <p>A video track that has no data for a particular position on the <span>media timeline</span>
+  must be interpreted as being fully transparent black at that point on the timeline, with the same
+  dimensions as the last frame before that position, or, if the position is before all the data for
+  that track, the same dimensions as the first frame for that track. A track that does not exist at
+  all at the current position must be treated as if it existed but had no data.</p>
+
+  <p class="example">For instance, if a video has a track that is only introduced after one hour of
+  playback, and the user selects that track then goes back to the start, then the user agent will
+  act as if that track started at the start of the <span>media resource</span> but was simply
+  transparent until one hour in.</p>
+
   <hr>
 
   <p>The following are the <span>event handlers</span> (and their corresponding <span data-x="event
@@ -116458,6 +116473,3 @@
          <li><img alt="A calendar grid with a clock in the upper right
          hand corner." src="sample-datetime-ui-3"></li>
 -->
-
-
-



More information about the Commit-Watchers mailing list