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

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: responses to ddorwin and piman 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/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 aaabc7cd22490995e61cf180b6f1f10036d82abf..adf9a90c89f15932e4fcd20beeb06dc0d9d9e264 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);

Powered by Google App Engine
This is Rietveld 408576698