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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.h

Issue 826663002: Support multiple video decoders and encoders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits Created 6 years 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/gpu_video_decode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
index e59a76fb5c35169dd4b0fab8cb448e9bc02a46b3..fcd3a3fc341321bb56a8aaa162d000d7c7efd772 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -70,6 +70,9 @@ class GpuVideoDecodeAccelerator
// We only allow self-delete, from OnWillDestroyStub(), after cleanup there.
~GpuVideoDecodeAccelerator() override;
+ // Initialize video decode accelerator.
+ bool InitialDecoder(const media::VideoCodecProfile profile);
Pawel Osciak 2014/12/26 01:11:35 Please explain the return value and more of what t
henryhsu 2014/12/26 08:40:40 Done.
+
Pawel Osciak 2014/12/26 01:11:35 s/Initial/Initialize/ Also, no need for const.
henryhsu 2014/12/26 08:40:40 Done.
// Handlers for IPC messages.
void OnDecode(base::SharedMemoryHandle handle, int32 id, uint32 size);
void OnAssignPictureBuffers(const std::vector<int32>& buffer_ids,

Powered by Google App Engine
This is Rietveld 408576698