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

Unified Diff: chromecast/media/cma/backend/video_plane_fake_factory.cc

Issue 802833002: Chromecast: media interfaces for hardware-backed video plane. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment 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
« no previous file with comments | « chromecast/media/cma/backend/video_plane_fake.cc ('k') | chromecast/media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/backend/video_plane_fake_factory.cc
diff --git a/chromecast/media/base/key_systems_common_simple.cc b/chromecast/media/cma/backend/video_plane_fake_factory.cc
similarity index 60%
copy from chromecast/media/base/key_systems_common_simple.cc
copy to chromecast/media/cma/backend/video_plane_fake_factory.cc
index e6dbd02890298d0f97a9cb64240d6b8f47f75c0a..234500915632f385d1dd624e5fb800dca2986877 100644
--- a/chromecast/media/base/key_systems_common_simple.cc
+++ b/chromecast/media/cma/backend/video_plane_fake_factory.cc
@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chromecast/media/base/key_systems_common.h"
+#include "chromecast/media/cma/backend/video_plane_fake.h"
namespace chromecast {
namespace media {
-CastKeySystem GetPlatformKeySystemByName(const std::string& key_system_name) {
- return KEY_SYSTEM_NONE;
+// Global accessor to the video plane.
+VideoPlane* GetVideoPlane() {
+ return VideoPlaneFake::GetInstance();
}
} // namespace media
« no previous file with comments | « chromecast/media/cma/backend/video_plane_fake.cc ('k') | chromecast/media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698