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

Unified Diff: media/base/pipeline_status.h

Issue 2643103002: [Video] Fix keyframe distance average calculations. (Closed)
Patch Set: 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/filters/decoder_stream_traits.cc » ('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 df5263148bc68e8a2c8a12cc2ba9fee3d311e671..b393c79f3bdbf0b5993e240a9b0c69ff70836df7 100644
--- a/media/base/pipeline_status.h
+++ b/media/base/pipeline_status.h
@@ -10,6 +10,7 @@
#include "base/callback.h"
#include "base/time/time.h"
+#include "media/base/timestamp_constants.h"
namespace media {
@@ -59,7 +60,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;
+ base::TimeDelta video_keyframe_distance_average = kNoTimestamp;
};
// Used for updating pipeline statistics; the passed value should be a delta
« no previous file with comments | « media/base/pipeline_impl.cc ('k') | media/filters/decoder_stream_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698