| Index: chrome/browser/media/cast_transport_host_filter_unittest.cc
|
| diff --git a/chrome/browser/media/cast_transport_host_filter_unittest.cc b/chrome/browser/media/cast_transport_host_filter_unittest.cc
|
| index 1ffdc4da0c65fe17f762e94ea9d5a8b9856f2aa6..5eee51c374b79db50d645f05e2aa0183567bb755 100644
|
| --- a/chrome/browser/media/cast_transport_host_filter_unittest.cc
|
| +++ b/chrome/browser/media/cast_transport_host_filter_unittest.cc
|
| @@ -89,29 +89,29 @@ TEST_F(CastTransportHostFilterTest, SimpleMessages) {
|
| media::cast::transport::CastTransportVideoConfig video_config;
|
| CastHostMsg_InitializeVideo init_video_msg(kChannelId, video_config);
|
| FakeSend(init_video_msg);
|
| - media::cast::transport::EncodedAudioFrame audio_frame;
|
| - audio_frame.codec = media::cast::transport::kPcm16;
|
| + media::cast::transport::EncodedFrame audio_frame;
|
| + audio_frame.dependency = media::cast::transport::EncodedFrame::KEY;
|
| audio_frame.frame_id = 1;
|
| + audio_frame.referenced_frame_id = 1;
|
| audio_frame.rtp_timestamp = 47;
|
| const int kSamples = 47;
|
| const int kBytesPerSample = 2;
|
| const int kChannels = 2;
|
| audio_frame.data = std::string(kSamples * kBytesPerSample * kChannels, 'q');
|
| CastHostMsg_InsertCodedAudioFrame insert_coded_audio_frame(
|
| - kChannelId, audio_frame, base::TimeTicks::Now());
|
| + kChannelId, audio_frame);
|
| FakeSend(insert_coded_audio_frame);
|
|
|
| - media::cast::transport::EncodedVideoFrame video_frame;
|
| - video_frame.codec = media::cast::transport::kVp8;
|
| - video_frame.key_frame = true;
|
| + media::cast::transport::EncodedFrame video_frame;
|
| + video_frame.dependency = media::cast::transport::EncodedFrame::KEY;
|
| video_frame.frame_id = 1;
|
| - video_frame.last_referenced_frame_id = 0;
|
| + video_frame.referenced_frame_id = 1;
|
| // Let's make sure we try a few kb so multiple packets
|
| // are generated.
|
| const int kVideoDataSize = 4711;
|
| video_frame.data = std::string(kVideoDataSize, 'p');
|
| CastHostMsg_InsertCodedVideoFrame insert_coded_video_frame(
|
| - kChannelId, video_frame, base::TimeTicks::Now());
|
| + kChannelId, video_frame);
|
| FakeSend(insert_coded_video_frame);
|
|
|
| media::cast::transport::SendRtcpFromRtpSenderData rtcp_data;
|
|
|