Chromium Code Reviews| Index: media/base/pipeline_status.h |
| diff --git a/media/base/pipeline_status.h b/media/base/pipeline_status.h |
| index daec9237988e7c809b3e3d572e529c4f09100c60..9117dae04736ce3519cda95a1cb7709220e8a42b 100644 |
| --- a/media/base/pipeline_status.h |
| +++ b/media/base/pipeline_status.h |
| @@ -40,17 +40,12 @@ typedef base::Callback<void(PipelineStatus)> PipelineStatusCB; |
| // TODO(scherkus): this should be moved alongside host interface definitions. |
|
xhwang
2015/10/27 23:32:40
nit: Is this still accurate?
DaleCurtis
2015/10/28 01:08:28
Done.
|
| struct PipelineStatistics { |
| - PipelineStatistics() |
| - : audio_bytes_decoded(0), |
| - video_bytes_decoded(0), |
| - video_frames_decoded(0), |
| - video_frames_dropped(0) { |
| - } |
| - |
| - uint32 audio_bytes_decoded; // Should be uint64? |
| - uint32 video_bytes_decoded; // Should be uint64? |
| - uint32 video_frames_decoded; |
| - uint32 video_frames_dropped; |
| + uint32 audio_bytes_decoded = 0; // Should be uint64? |
| + uint32 video_bytes_decoded = 0; // Should be uint64? |
| + uint32 video_frames_decoded = 0; |
| + uint32 video_frames_dropped = 0; |
| + int64_t audio_memory_usage = 0; |
| + int64_t video_memory_usage = 0; |
| }; |
| // Used for updating pipeline statistics. |