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

Unified Diff: media/base/pipeline_status.h

Issue 2611333003: [Video] Disable bg optimization if avg keyframe distance is >10s (Closed)
Patch Set: Rebase the test 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 | « media/base/pipeline_impl.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
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..df5263148bc68e8a2c8a12cc2ba9fee3d311e671 100644
--- a/media/base/pipeline_status.h
+++ b/media/base/pipeline_status.h
@@ -5,12 +5,12 @@
#ifndef MEDIA_BASE_PIPELINE_STATUS_H_
#define MEDIA_BASE_PIPELINE_STATUS_H_
-#include "base/callback.h"
-
#include <stdint.h>
-
#include <string>
+#include "base/callback.h"
+#include "base/time/time.h"
+
namespace media {
// Status states for pipeline. All codes except PIPELINE_OK indicate errors.
@@ -59,6 +59,7 @@ struct PipelineStatistics {
uint32_t video_frames_dropped = 0;
int64_t audio_memory_usage = 0;
int64_t video_memory_usage = 0;
+ base::TimeDelta video_keyframe_distance_average;
};
// Used for updating pipeline statistics; the passed value should be a delta
« no previous file with comments | « media/base/pipeline_impl.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698