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

Unified Diff: ppapi/cpp/dev/video_decoder_client_dev.cc

Issue 7021020: Clean up video frame sizes, types in Video Decode API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responses to CR Created 9 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 | « ppapi/cpp/dev/video_decoder_client_dev.h ('k') | ppapi/cpp/dev/video_decoder_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/video_decoder_client_dev.cc
diff --git a/ppapi/cpp/dev/video_decoder_client_dev.cc b/ppapi/cpp/dev/video_decoder_client_dev.cc
index e0c174ce5668aa5975236d6fcdfd01e023bf8381..90596baf97406111b2e6a0f691372ff8022c58a0 100644
--- a/ppapi/cpp/dev/video_decoder_client_dev.cc
+++ b/ppapi/cpp/dev/video_decoder_client_dev.cc
@@ -19,14 +19,13 @@ const char kPPPVideoDecoderInterface[] = PPP_VIDEODECODER_DEV_INTERFACE;
// Callback to provide buffers for the decoded output pictures.
void ProvidePictureBuffers(PP_Instance instance,
uint32_t req_num_of_bufs,
- struct PP_Size dimensions,
- enum PP_PictureBufferType_Dev type) {
+ struct PP_Size dimensions) {
void* object = pp::Instance::GetPerInstanceObject(
instance, kPPPVideoDecoderInterface);
if (!object)
return;
static_cast<VideoDecoderClient_Dev*>(object)->ProvidePictureBuffers(
- req_num_of_bufs, dimensions, type);
+ req_num_of_bufs, dimensions);
}
void DismissPictureBuffer(PP_Instance instance,
« no previous file with comments | « ppapi/cpp/dev/video_decoder_client_dev.h ('k') | ppapi/cpp/dev/video_decoder_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698