Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(817)

Unified Diff: media/cast/test/end2end_unittest.cc

Issue 845993002: Adding "rtp_timebase" variable in lieu of "frequency" for FrameReceiverConfig structure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/test/cast_benchmarks.cc ('k') | media/cast/test/receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/end2end_unittest.cc
diff --git a/media/cast/test/end2end_unittest.cc b/media/cast/test/end2end_unittest.cc
index 13d915be5a54a47b0ff432484ffeb22a6d57e3ec..dbcd82d313a212e9d8ec06d7db0afe7b211b2f25 100644
--- a/media/cast/test/end2end_unittest.cc
+++ b/media/cast/test/end2end_unittest.cc
@@ -486,13 +486,13 @@ class End2EndTest : public ::testing::Test {
audio_receiver_config_.rtp_max_delay_ms = kTargetPlayoutDelayMs;
audio_receiver_config_.rtp_payload_type =
audio_sender_config_.rtp_payload_type;
- audio_receiver_config_.frequency = audio_sender_config_.frequency;
+ audio_receiver_config_.rtp_timebase = audio_sender_config_.frequency;
audio_receiver_config_.channels = kAudioChannels;
audio_receiver_config_.target_frame_rate = 100;
audio_receiver_config_.codec = audio_sender_config_.codec;
test_receiver_audio_callback_->SetExpectedSamplingFrequency(
- audio_receiver_config_.frequency);
+ audio_receiver_config_.rtp_timebase);
video_sender_config_.ssrc = 3;
video_sender_config_.receiver_ssrc = 4;
@@ -518,7 +518,7 @@ class End2EndTest : public ::testing::Test {
video_receiver_config_.rtp_max_delay_ms = kTargetPlayoutDelayMs;
video_receiver_config_.rtp_payload_type =
video_sender_config_.rtp_payload_type;
- video_receiver_config_.frequency = kVideoFrequency;
+ video_receiver_config_.rtp_timebase = kVideoFrequency;
video_receiver_config_.channels = 1;
video_receiver_config_.target_frame_rate =
video_sender_config_.max_frame_rate;
« no previous file with comments | « media/cast/test/cast_benchmarks.cc ('k') | media/cast/test/receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698