Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(806)

Unified Diff: ppapi/api/ppb_video_decoder.idl

Issue 390213002: Pepper: Change PPB_VideoDecoder::Reset behavior so plugin always manages textures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « native_client_sdk/src/examples/api/video_decode/video_decode.cc ('k') | ppapi/c/ppb_video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/ppb_video_decoder.idl
diff --git a/ppapi/api/ppb_video_decoder.idl b/ppapi/api/ppb_video_decoder.idl
index ab38e9fea06f0c6e4c46015a6db8514a468e6f0c..b450633b818267219892a10743d54625417f3b3b 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.
« no previous file with comments | « native_client_sdk/src/examples/api/video_decode/video_decode.cc ('k') | ppapi/c/ppb_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698