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

Unified Diff: content/common/gpu/media/omx_video_decode_accelerator.cc

Issue 7545014: Implement PPAPI VideoDecode out-of-process support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responding to brettw Created 9 years, 4 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/common/gpu/media/omx_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/omx_video_decode_accelerator.cc b/content/common/gpu/media/omx_video_decode_accelerator.cc
index fbfedef2846fe43c7137686280f064b71c6f61d8..f2e79812ccfe2d4ca0f61c1137cd22dc2bf4768b 100644
--- a/content/common/gpu/media/omx_video_decode_accelerator.cc
+++ b/content/common/gpu/media/omx_video_decode_accelerator.cc
@@ -99,7 +99,7 @@ void OmxVideoDecodeAccelerator::SetEglState(
}
bool OmxVideoDecodeAccelerator::VerifyConfigs(
- const std::vector<uint32>& configs) {
+ const std::vector<int32>& configs) {
size_t cur;
for (cur = 0; cur + 1 < configs.size(); cur++) {
uint32 n = configs[cur++];
@@ -141,7 +141,7 @@ static void InitParam(const OmxVideoDecodeAccelerator& dec, T* param) {
param->nSize = sizeof(T);
}
-bool OmxVideoDecodeAccelerator::Initialize(const std::vector<uint32>& config) {
+bool OmxVideoDecodeAccelerator::Initialize(const std::vector<int32>& config) {
DCHECK_EQ(message_loop_, MessageLoop::current());
RETURN_ON_FAILURE(VerifyConfigs(config), "Invalid config", INVALID_ARGUMENT,
false);
« no previous file with comments | « content/common/gpu/media/omx_video_decode_accelerator.h ('k') | content/renderer/gpu/command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698