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

Unified Diff: ppapi/api/dev/pp_video_dev.idl

Issue 11826064: Enforce non-negative BitstreamBuffer id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Documented the wrapping at 30 bits. Created 7 years, 11 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 | « media/filters/gpu_video_decoder.cc ('k') | ppapi/c/dev/pp_video_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/dev/pp_video_dev.idl
diff --git a/ppapi/api/dev/pp_video_dev.idl b/ppapi/api/dev/pp_video_dev.idl
index 51232328261decda645424beeca51331a64e8577..936eede17765e1eb369c1d1bd1b074be1a29bb86 100644
--- a/ppapi/api/dev/pp_video_dev.idl
+++ b/ppapi/api/dev/pp_video_dev.idl
@@ -40,7 +40,8 @@ enum PP_VideoDecoder_Profile {
[assert_size(12)]
struct PP_VideoBitstreamBuffer_Dev {
/**
- * Client-specified identifier for the bitstream buffer.
+ * Client-specified identifier for the bitstream buffer. Valid values are
+ * non-negative.
*/
int32_t id;
@@ -64,7 +65,7 @@ struct PP_PictureBuffer_Dev {
/**
* Client-specified id for the picture buffer. By using this value client can
* keep track of the buffers it has assigned to the video decoder and how they
- * are passed back to it.
+ * are passed back to it. Valid values are non-negative.
*/
int32_t id;
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | ppapi/c/dev/pp_video_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698