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

Unified Diff: media/base/media_log_event.h

Issue 13870004: Expose MEDIA_STATISTICS stats to chrome://media-internals. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 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/base/media_log.cc ('k') | media/base/pipeline.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_log_event.h
diff --git a/media/base/media_log_event.h b/media/base/media_log_event.h
index 9b0f6e1d96137c8f71bcdfcf7febe824807f7f06..11ef5a0c44688ee6295049f8f14042ece5807c44 100644
--- a/media/base/media_log_event.h
+++ b/media/base/media_log_event.h
@@ -72,6 +72,13 @@ struct MediaLogEvent {
// Errors reported by Media Source Extensions code.
MEDIA_SOURCE_ERROR,
// params: "error": Error string describing the error detected.
+
+ // Statistics for pipeline.
+ // params: "decoded_audio_bytes": <decoded audio bytes of the video>
+ // "decoded_video_bytes": <decoded video bytes of the video>
+ // "decoded_video_frames": <decoded video frames of the video>
+ // "dropped_video_frames": <dropped video frames of the video>
+ PIPELINE_STATISTICS_CHANGED,
};
int32 id;
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698