Spot fix
authorRobert O'Callahan <robert@ocallahan.org>
Thu, 07 Jul 2011 17:44:42 +1200
changeset 19 4b84a111a31f
parent 18 df9ee59119a0
child 20 88a5fd255bfa
Spot fix
StreamProcessing/StreamProcessing.html
--- a/StreamProcessing/StreamProcessing.html	Thu Jul 07 17:43:28 2011 +1200
+++ b/StreamProcessing/StreamProcessing.html	Thu Jul 07 17:44:42 2011 +1200
@@ -304,8 +304,7 @@
 <p class="note">This means if the last input's video track is opaque, the video output is simply the video track of the last input.
 </ul>
 
-<p>A <code>ProcessedMediaStream</code> with the "LastInput" processing engine simply produces the last input stream as
-output. If there are no input streams it produces the same output as the default processing engine.
+<p>A <code>ProcessedMediaStream</code> with the "LastInput" processing engine simply produces the last enabled input stream as output. If there are no enabled input streams, it produces the same output as the default processing engine.
 
 <h3 id="mediainput">4.3 MediaInput</h3>
 
@@ -634,8 +633,6 @@
     mixer.addInput(in2.captureStream()).enableAt(mixer.currentTime + 10);
     in2.play();
     // in2 will be blocked until the input port is enabled
-
-    mixer.inputs[0].setEnabled(false, mixer.currentTime + 10);
     in2.onplaying = function() { mixer.inputs[0].remove(); };
   }
 &lt;/script&gt;</pre></code>