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

Unified Diff: chromecast/media/cma/pipeline/av_pipeline_impl.cc

Issue 1776353006: [Chromecast] Add metrics for logging platform A/V bitrate estimates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add const qualifier to bytes_decoded accessor Created 4 years, 9 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/pipeline/av_pipeline_impl.cc
diff --git a/chromecast/media/cma/pipeline/av_pipeline_impl.cc b/chromecast/media/cma/pipeline/av_pipeline_impl.cc
index 028fac49aec1e7329bbc207fc439db57f66094e0..815e8df7e42eeb932f3170ba45fd3dc4d7c8944b 100644
--- a/chromecast/media/cma/pipeline/av_pipeline_impl.cc
+++ b/chromecast/media/cma/pipeline/av_pipeline_impl.cc
@@ -37,7 +37,8 @@ const int kNoCallbackId = -1;
AvPipelineImpl::AvPipelineImpl(MediaPipelineBackend::Decoder* decoder,
const AvPipelineClient& client)
- : decoder_(decoder),
+ : bytes_decoded_since_last_update_(0),
+ decoder_(decoder),
client_(client),
state_(kUninitialized),
buffered_time_(::media::kNoTimestamp()),

Powered by Google App Engine
This is Rietveld 408576698