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

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

Issue 7779001: Replace the use of an int32* with a proper struct for decoder configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replaced struct with explicit profile parameter. 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/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 624f04f039a0bb529381501c3195bfa680bf6785..f065cff16c0fd0020267e4cf90ef381ec6c26d7d 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -43,9 +43,9 @@ class GpuVideoDecodeAccelerator
// Function to delegate sending to actual sender.
virtual bool Send(IPC::Message* message);
- // Initialize the accelerator with the given configuration and send the
+ // Initialize the accelerator with the given profile and send the
// |init_done_msg| when done.
- void Initialize(const std::vector<int32>& configs,
+ void Initialize(const media::VideoDecodeAccelerator::Profile profile,
IPC::Message* init_done_msg);
private:

Powered by Google App Engine
This is Rietveld 408576698