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

Unified Diff: media/filters/decoder_stream.cc

Issue 2079923002: Combine bytes-decoded notification with memory usage and frame count. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 4 years, 6 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
« no previous file with comments | « media/filters/decoder_stream.h ('k') | media/filters/decoder_stream_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decoder_stream.cc
diff --git a/media/filters/decoder_stream.cc b/media/filters/decoder_stream.cc
index 495fec15680f9a744280f0f2e26263557ede4f42..924ae7805b61cc146d9764cad4e5894acb35ae41 100644
--- a/media/filters/decoder_stream.cc
+++ b/media/filters/decoder_stream.cc
@@ -448,7 +448,7 @@ void DecoderStream<StreamType>::OnDecodeDone(int buffer_size,
case DecodeStatus::OK:
// Any successful decode counts!
if (buffer_size > 0)
- StreamTraits::ReportStatistics(statistics_cb_, buffer_size);
+ statistics_cb_.Run(buffer_size);
if (state_ == STATE_NORMAL) {
if (end_of_stream) {
« no previous file with comments | « media/filters/decoder_stream.h ('k') | media/filters/decoder_stream_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698