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

Unified Diff: chromecast/media/cma/backend/media_pipeline_backend_wrapper.h

Issue 2173593002: [Chromecast] Limit number of concurrent audio and video decoders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use enum for decoder type Created 4 years, 5 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/media/cma/backend/media_pipeline_backend_wrapper.h
diff --git a/chromecast/media/cma/backend/media_pipeline_backend_wrapper.h b/chromecast/media/cma/backend/media_pipeline_backend_wrapper.h
index 9cb959318fbbfa15486df6a99697d360678a0643..1053d8840792c0a5f197de01eb45f9fb2ef6159c 100644
--- a/chromecast/media/cma/backend/media_pipeline_backend_wrapper.h
+++ b/chromecast/media/cma/backend/media_pipeline_backend_wrapper.h
@@ -49,6 +49,7 @@ class MediaPipelineBackendWrapper : public MediaPipelineBackend {
std::unique_ptr<AudioDecoderWrapper> audio_decoder_wrapper_;
float stream_type_volume_;
bool is_initialized_;
+ bool have_video_decoder_;
MediaPipelineBackendManager* const backend_manager_;
DISALLOW_COPY_AND_ASSIGN(MediaPipelineBackendWrapper);

Powered by Google App Engine
This is Rietveld 408576698