Commit ed0e9bbb authored by Hua, Chunbo's avatar Hua, Chunbo Committed by Commit Bot

[webcodecs] Fix description for video encoder interface.

Bug: None
Change-Id: Id361efb087daf048b5a360e73b57a59a97c1691c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2525901Reviewed-by: default avatarDan Sanders <sandersd@chromium.org>
Commit-Queue: Chunbo Hua <chunbo.hua@intel.com>
Cr-Commit-Position: refs/heads/master@{#825616}
parent fa93fba6
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
[CallWith=ScriptState, RaisesException, MeasureAs=WebCodecsVideoEncoder] [CallWith=ScriptState, RaisesException, MeasureAs=WebCodecsVideoEncoder]
constructor(VideoEncoderInit init); constructor(VideoEncoderInit init);
// The number of pending decode requests. This does not include requests that // The number of pending encode requests. This does not include requests that
// have been sent to the underlying codec. // have been sent to the underlying codec.
// //
// Applications can minimize underflow by enqueueing encode requests until // Applications can minimize underflow by enqueueing encode requests until
...@@ -55,6 +55,6 @@ ...@@ -55,6 +55,6 @@
[RaisesException] [RaisesException]
void close(); void close();
// Which state the decoder is in, indicating which methods can be called. // Which state the encoder is in, indicating which methods can be called.
readonly attribute CodecState state; readonly attribute CodecState state;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment