| Index: chrome/renderer/media/cast_session_delegate.cc
|
| diff --git a/chrome/renderer/media/cast_session_delegate.cc b/chrome/renderer/media/cast_session_delegate.cc
|
| index 2e42c7b31be37cf82f3f4eae98f7a6ef3d72a700..f1dfa836a8cd1f6b4fe709e775ba5c7388df2c74 100644
|
| --- a/chrome/renderer/media/cast_session_delegate.cc
|
| +++ b/chrome/renderer/media/cast_session_delegate.cc
|
| @@ -238,10 +238,21 @@
|
| frame_events.begin();
|
| it != frame_events.end();
|
| ++it) {
|
| - cast_environment_->Logging()->InsertFrameEvent(it->timestamp,
|
| - it->type,
|
| - it->media_type,
|
| - it->rtp_timestamp,
|
| - it->frame_id);
|
| - }
|
| -}
|
| + if (it->type == media::cast::FRAME_PLAYOUT) {
|
| + cast_environment_->Logging()->InsertFrameEventWithDelay(
|
| + it->timestamp,
|
| + it->type,
|
| + it->media_type,
|
| + it->rtp_timestamp,
|
| + it->frame_id,
|
| + it->delay_delta);
|
| + } else {
|
| + cast_environment_->Logging()->InsertFrameEvent(
|
| + it->timestamp,
|
| + it->type,
|
| + it->media_type,
|
| + it->rtp_timestamp,
|
| + it->frame_id);
|
| + }
|
| + }
|
| +}
|
|
|