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

Unified Diff: content/renderer/pepper_platform_video_decoder_impl.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: . 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
Index: content/renderer/pepper_platform_video_decoder_impl.cc
diff --git a/content/renderer/pepper_platform_video_decoder_impl.cc b/content/renderer/pepper_platform_video_decoder_impl.cc
index ac34a3bccff8f98deb38c814fcbf1db8146236e5..7b146b7687ae0d959c8e7b73983e67a852b6c6c7 100644
--- a/content/renderer/pepper_platform_video_decoder_impl.cc
+++ b/content/renderer/pepper_platform_video_decoder_impl.cc
@@ -96,10 +96,9 @@ void PlatformVideoDecoderImpl::NotifyError(
void PlatformVideoDecoderImpl::ProvidePictureBuffers(
uint32 requested_num_of_buffers,
- const gfx::Size& dimensions,
- media::VideoDecodeAccelerator::MemoryType type) {
+ const gfx::Size& dimensions) {
DCHECK_EQ(RenderThread::current()->message_loop(), MessageLoop::current());
- client_->ProvidePictureBuffers(requested_num_of_buffers, dimensions, type);
+ client_->ProvidePictureBuffers(requested_num_of_buffers, dimensions);
}
void PlatformVideoDecoderImpl::DismissPictureBuffer(int32 picture_buffer_id) {

Powered by Google App Engine
This is Rietveld 408576698