summaryrefslogtreecommitdiffstats
path: root/ppapi/api/ppb_video_decoder.idl
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/api/ppb_video_decoder.idl')
-rw-r--r--ppapi/api/ppb_video_decoder.idl11
1 files changed, 6 insertions, 5 deletions
diff --git a/ppapi/api/ppb_video_decoder.idl b/ppapi/api/ppb_video_decoder.idl
index ab38e9f..b450633 100644
--- a/ppapi/api/ppb_video_decoder.idl
+++ b/ppapi/api/ppb_video_decoder.idl
@@ -177,8 +177,8 @@ interface PPB_VideoDecoder {
* the decoder signals completion by running |callback|. Just before
* completion, any pending GetPicture() call will complete by running its
* callback with result PP_ERROR_ABORTED to signal that no more pictures are
- * available. The plugin should recycle any pictures it is using before
- * resuming decoding.
+ * available. Any pictures held by the plugin remain valid during and after
+ * the flush and should be recycled back to the decoder.
*
* @param[in] video_decoder A <code>PP_Resource</code> identifying the video
* decoder.
@@ -197,9 +197,10 @@ interface PPB_VideoDecoder {
* skip to another position in the video stream. After Reset() returns, any
* pending calls to Decode() and GetPicture()) abort, causing their callbacks
* to run with PP_ERROR_ABORTED. The plugin should not make further calls to
- * the decoder until the decoder signals completion by running |callback|.
- * The pictures in use by the plugin remain valid until decoding is resumed,
- * but need not be recycled.
+ * the decoder other than RecyclePicture() until the decoder signals
+ * completion by running |callback|. Any pictures held by the plugin remain
+ * valid during and after the reset and should be recycled back to the
+ * decoder.
*
* @param[in] video_decoder A <code>PP_Resource</code> identifying the video
* decoder.