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

Unified Diff: chromecast/public/cast_media_shlib.h

Issue 1257013003: Load CMA backend from shared library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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: chromecast/public/cast_media_shlib.h
diff --git a/chromecast/public/cast_media_shlib.h b/chromecast/public/cast_media_shlib.h
index 8b776da8a43504a11ddaf9eb2ee24d361c4419a9..d523db881621fc3e0fde3c1336f4346158b646e0 100644
--- a/chromecast/public/cast_media_shlib.h
+++ b/chromecast/public/cast_media_shlib.h
@@ -13,6 +13,8 @@
namespace chromecast {
namespace media {
+class MediaPipelineBackend;
+struct MediaPipelineDeviceParams;
class VideoPlane;
// Provides access to platform-specific media systems and hardware resources.
@@ -39,6 +41,12 @@ class CHROMECAST_EXPORT CastMediaShlib {
// While an implementation is in an initialized state, this function may be
// called at any time. The VideoPlane object must be destroyed in Finalize.
static VideoPlane* GetVideoPlane();
alokp 2015/08/10 20:30:25 Please document ownership for the returned VideoPl
+
+ // Creates a factory object for a media pipeline backend. Called in the
+ // browser process, any number of times (once per media pipeline). Each call
+ // must instantiate a new factory object
+ static MediaPipelineBackend* CreateMediaPipelineBackend(
alokp 2015/08/10 20:30:25 Who owns the returned MediaPipelineBackend? I am a
+ const MediaPipelineDeviceParams& params);
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698