| Index: webrtc/video/video_receive_stream.cc
|
| diff --git a/webrtc/video/video_receive_stream.cc b/webrtc/video/video_receive_stream.cc
|
| index f7daed34d8f159a4237097d508ec2d7ede7f92b7..fe55553b5e228a800c7e61f52ed5c02bde7a833a 100644
|
| --- a/webrtc/video/video_receive_stream.cc
|
| +++ b/webrtc/video/video_receive_stream.cc
|
| @@ -336,13 +336,15 @@ void VideoReceiveStream::OnFrame(const VideoFrame& video_frame) {
|
| stats_proxy_.OnDecodedFrame();
|
|
|
| int64_t sync_offset_ms;
|
| + double estimated_freq_khz;
|
| // TODO(tommi): GetStreamSyncOffsetInMs grabs three locks. One inside the
|
| // function itself, another in GetChannel() and a third in
|
| // GetPlayoutTimestamp. Seems excessive. Anyhow, I'm assuming the function
|
| // succeeds most of the time, which leads to grabbing a fourth lock.
|
| - if (rtp_stream_sync_.GetStreamSyncOffsetInMs(video_frame, &sync_offset_ms)) {
|
| + if (rtp_stream_sync_.GetStreamSyncOffsetInMs(video_frame, &sync_offset_ms,
|
| + &estimated_freq_khz)) {
|
| // TODO(tommi): OnSyncOffsetUpdated grabs a lock.
|
| - stats_proxy_.OnSyncOffsetUpdated(sync_offset_ms);
|
| + stats_proxy_.OnSyncOffsetUpdated(sync_offset_ms, estimated_freq_khz);
|
| }
|
|
|
| // config_.renderer must never be null if we're getting this callback.
|
|
|