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

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.cc

Issue 10408003: Plumb extra_data() to VideoDecodeAccelerator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rev interface versino Created 8 years, 7 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 | « content/common/gpu/client/command_buffer_proxy_impl.h ('k') | content/common/gpu/client/gpu_channel_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/command_buffer_proxy_impl.cc
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc
index d100e80d681702c284c3a0419c85e27b47c998ab..169aeed1573da0312983bc02377a84f1e11cdff4 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc
@@ -450,10 +450,12 @@ void CommandBufferProxyImpl::SetNotifyRepaintTask(const base::Closure& task) {
scoped_refptr<GpuVideoDecodeAcceleratorHost>
CommandBufferProxyImpl::CreateVideoDecoder(
media::VideoCodecProfile profile,
+ const gfx::Size& size,
+ const std::vector<uint8_t>& extra_data,
media::VideoDecodeAccelerator::Client* client) {
int decoder_route_id;
- if (!Send(new GpuCommandBufferMsg_CreateVideoDecoder(route_id_, profile,
- &decoder_route_id))) {
+ if (!Send(new GpuCommandBufferMsg_CreateVideoDecoder(
+ route_id_, profile, size, extra_data, &decoder_route_id))) {
LOG(ERROR) << "Send(GpuCommandBufferMsg_CreateVideoDecoder) failed";
return NULL;
}
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.h ('k') | content/common/gpu/client/gpu_channel_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698