| Index: media/cast/receiver/cast_receiver_impl.cc
|
| diff --git a/media/cast/receiver/cast_receiver_impl.cc b/media/cast/receiver/cast_receiver_impl.cc
|
| index 83d8bf7928a72213e03f8f16595cf3e6efb7e9ec..f7e116db47c1277e5c419c3c7457471bc56deda9 100644
|
| --- a/media/cast/receiver/cast_receiver_impl.cc
|
| +++ b/media/cast/receiver/cast_receiver_impl.cc
|
| @@ -124,7 +124,7 @@ void CastReceiverImpl::DecodeEncodedAudioFrame(
|
| audio_codec_));
|
| }
|
| const uint32 frame_id = encoded_frame->frame_id;
|
| - const uint32 rtp_timestamp = encoded_frame->rtp_timestamp;
|
| + const RtpTimeTicks rtp_timestamp = encoded_frame->rtp_timestamp;
|
| const base::TimeTicks playout_time = encoded_frame->reference_time;
|
| audio_decoder_->DecodeFrame(
|
| encoded_frame.Pass(),
|
| @@ -150,13 +150,13 @@ void CastReceiverImpl::DecodeEncodedVideoFrame(
|
| TRACE_EVENT_INSTANT2(
|
| "cast_perf_test", "PullEncodedVideoFrame",
|
| TRACE_EVENT_SCOPE_THREAD,
|
| - "rtp_timestamp", encoded_frame->rtp_timestamp,
|
| + "rtp_timestamp", encoded_frame->rtp_timestamp.lower_32_bits(),
|
| "render_time", encoded_frame->reference_time.ToInternalValue());
|
|
|
| if (!video_decoder_)
|
| video_decoder_.reset(new VideoDecoder(cast_environment_, video_codec_));
|
| const uint32 frame_id = encoded_frame->frame_id;
|
| - const uint32 rtp_timestamp = encoded_frame->rtp_timestamp;
|
| + const RtpTimeTicks rtp_timestamp = encoded_frame->rtp_timestamp;
|
| const base::TimeTicks playout_time = encoded_frame->reference_time;
|
| video_decoder_->DecodeFrame(
|
| encoded_frame.Pass(),
|
| @@ -173,7 +173,7 @@ void CastReceiverImpl::EmitDecodedAudioFrame(
|
| const scoped_refptr<CastEnvironment>& cast_environment,
|
| const AudioFrameDecodedCallback& callback,
|
| uint32 frame_id,
|
| - uint32 rtp_timestamp,
|
| + RtpTimeTicks rtp_timestamp,
|
| const base::TimeTicks& playout_time,
|
| scoped_ptr<AudioBus> audio_bus,
|
| bool is_continuous) {
|
| @@ -200,7 +200,7 @@ void CastReceiverImpl::EmitDecodedVideoFrame(
|
| const scoped_refptr<CastEnvironment>& cast_environment,
|
| const VideoFrameDecodedCallback& callback,
|
| uint32 frame_id,
|
| - uint32 rtp_timestamp,
|
| + RtpTimeTicks rtp_timestamp,
|
| const base::TimeTicks& playout_time,
|
| const scoped_refptr<VideoFrame>& video_frame,
|
| bool is_continuous) {
|
| @@ -222,7 +222,7 @@ void CastReceiverImpl::EmitDecodedVideoFrame(
|
| TRACE_EVENT_INSTANT1(
|
| "cast_perf_test", "FrameDecoded",
|
| TRACE_EVENT_SCOPE_THREAD,
|
| - "rtp_timestamp", rtp_timestamp);
|
| + "rtp_timestamp", rtp_timestamp.lower_32_bits());
|
| }
|
|
|
| callback.Run(video_frame, playout_time, is_continuous);
|
|
|