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

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

Issue 568413002: Add VEA supported profiles to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address piman's comment -- create codecs_ lazily Created 6 years, 3 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/gpu_video_encode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.h b/content/common/gpu/media/gpu_video_encode_accelerator.h
index 7b1da6b2fe5bed7d06c252d006bac98b904b8544..c9273a5db986433b086ea46760ef911b035579f9 100644
--- a/content/common/gpu/media/gpu_video_encode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.h
@@ -63,7 +63,7 @@ class GpuVideoEncodeAccelerator
private:
// Create the appropriate platform-specific VEA.
- void CreateEncoder();
+ static scoped_ptr<media::VideoEncodeAccelerator> CreateEncoder();
// IPC handlers, proxying media::VideoEncodeAccelerator for the renderer
// process.

Powered by Google App Engine
This is Rietveld 408576698