Index: media/cast/test/receiver.cc |
diff --git a/media/cast/test/receiver.cc b/media/cast/test/receiver.cc |
index f30e749ec15ad41e168218efe48be19a1ad297ce..e930034c377999f9aeccb0c7e868cc43576dde1a 100644 |
--- a/media/cast/test/receiver.cc |
+++ b/media/cast/test/receiver.cc |
@@ -194,7 +194,7 @@ class NaivePlayer : public InProcessReceiver, |
// Maximum age is the duration of 3 video frames. 3 was chosen |
// arbitrarily, but seems to work well. |
max_frame_age_(base::TimeDelta::FromSeconds(1) * 3 / |
- video_config.max_frame_rate), |
+ video_config.target_frame_rate), |
#if defined(USE_X11) |
render_(0, 0, window_width, window_height, "Cast_receiver"), |
#endif // defined(USE_X11) |