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

Unified Diff: ppapi/c/dev/ppb_video_decoder_dev.h

Issue 6901036: Update VideoDecode PPAPI structs to be consistent with media structures, part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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
Index: ppapi/c/dev/ppb_video_decoder_dev.h
diff --git a/ppapi/c/dev/ppb_video_decoder_dev.h b/ppapi/c/dev/ppb_video_decoder_dev.h
index 9e9d2396b5be14263c36e129eab6ea153d721386..7e896189debc7e62f5eaf43103ade03ebf37c27b 100644
--- a/ppapi/c/dev/ppb_video_decoder_dev.h
+++ b/ppapi/c/dev/ppb_video_decoder_dev.h
@@ -143,7 +143,7 @@ struct PPB_VideoDecoder_Dev {
// processed.
void (*AssignPictureBuffer)(PP_Resource video_decoder,
uint32_t no_of_buffers,
- union PP_PictureData_Dev* picture_buffer);
+ struct PP_PictureBuffer_Dev* picture_buffers);
// Tells the decoder to reuse given picture buffer. Typical use of this
// function is to call from PictureReady callback to recycle picture buffer
@@ -163,7 +163,7 @@ struct PPB_VideoDecoder_Dev {
// |picture_buffer| contains the reference to the picture buffer that was
// processed.
void (*ReusePictureBuffer)(PP_Resource video_decoder,
- union PP_PictureData_Dev* picture_buffer);
+ int32_t picture_buffer_id);
// Dispatches flushing request to the decoder to flush both input and output
// buffers. Successful flushing will result in output of the pictures and

Powered by Google App Engine
This is Rietveld 408576698