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

Unified Diff: media/base/pipeline_status.h

Issue 2611333003: [Video] Disable bg optimization if avg keyframe distance is >10s (Closed)
Patch Set: Changed the name and set a minimum number of samples Created 3 years, 11 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 | « no previous file | media/blink/webmediaplayer_impl.h » ('j') | media/blink/webmediaplayer_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_status.h
diff --git a/media/base/pipeline_status.h b/media/base/pipeline_status.h
index 2899824665506cf7ffb9536a15d25661c42cfea8..8177231ea3a5261243e8c0a13cb1bc0e914156d5 100644
--- a/media/base/pipeline_status.h
+++ b/media/base/pipeline_status.h
@@ -59,6 +59,7 @@ struct PipelineStatistics {
uint32_t video_frames_dropped = 0;
int64_t audio_memory_usage = 0;
int64_t video_memory_usage = 0;
+ int64_t video_keyframe_distance_average_ms = 0;
DaleCurtis 2017/01/10 21:11:39 Just use a base::TimeDelta?
whywhat 2017/01/10 21:51:54 Done.
};
// Used for updating pipeline statistics; the passed value should be a delta
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl.h » ('j') | media/blink/webmediaplayer_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698