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

Unified Diff: media/cast/cast_receiver_impl.cc

Issue 225023010: [Cast] Refactor/clean-up VideoReceiver to match AudioReceiver as closely as possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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/cast_receiver_impl.h ('k') | media/cast/logging/logging_defines.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_receiver_impl.cc
diff --git a/media/cast/cast_receiver_impl.cc b/media/cast/cast_receiver_impl.cc
index 2712d7a1d1c1f1dc7e284d5651e4cc11d00c8e16..b38cd99667700cfe3fb93cf3b132250c854f0949 100644
--- a/media/cast/cast_receiver_impl.cc
+++ b/media/cast/cast_receiver_impl.cc
@@ -92,9 +92,7 @@ CastReceiverImpl::CastReceiverImpl(
audio_receiver_(cast_environment, audio_config, &pacer_),
video_receiver_(cast_environment,
video_config,
- &pacer_,
- base::Bind(&CastReceiverImpl::UpdateTargetDelay,
- base::Unretained(this))),
+ &pacer_),
frame_receiver_(new LocalFrameReceiver(cast_environment,
&audio_receiver_,
&video_receiver_)),
@@ -140,10 +138,6 @@ void CastReceiverImpl::ReceivedPacket(scoped_ptr<Packet> packet) {
}
}
-void CastReceiverImpl::UpdateTargetDelay(base::TimeDelta target_delay_ms) {
- audio_receiver_.SetTargetDelay(target_delay_ms);
-}
-
transport::PacketReceiverCallback CastReceiverImpl::packet_receiver() {
return base::Bind(&CastReceiverImpl::ReceivedPacket, base::Unretained(this));
}
« no previous file with comments | « media/cast/cast_receiver_impl.h ('k') | media/cast/logging/logging_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698