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

Unified Diff: content/common/gpu/gpu_video_decode_accelerator.cc

Issue 7065010: Add initialization callback support for Video Decoder PPAPI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Delete TODO and bump up the ppb version Created 9 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
Index: content/common/gpu/gpu_video_decode_accelerator.cc
diff --git a/content/common/gpu/gpu_video_decode_accelerator.cc b/content/common/gpu/gpu_video_decode_accelerator.cc
index 3561b847dd58b9f61b9553c8b381cfccd1e93402..57ee31d6dfb4c9e408bf7d6ff037ef2dc3a9cd27 100644
--- a/content/common/gpu/gpu_video_decode_accelerator.cc
+++ b/content/common/gpu/gpu_video_decode_accelerator.cc
@@ -178,6 +178,11 @@ void GpuVideoDecodeAccelerator::NotifyEndOfBitstreamBuffer(
}
}
+void GpuVideoDecodeAccelerator::NotifyInitializeDone() {
+ if (!Send(new AcceleratedVideoDecoderHostMsg_InitializeDone(route_id_)))
+ LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_InitializeDone) failed";
+}
+
void GpuVideoDecodeAccelerator::NotifyFlushDone() {
if (!Send(new AcceleratedVideoDecoderHostMsg_FlushDone(route_id_)))
LOG(ERROR) << "Send(AcceleratedVideoDecoderHostMsg_FlushDone) failed";

Powered by Google App Engine
This is Rietveld 408576698