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

Unified Diff: media/cast/test/utility/in_process_receiver.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/test/utility/in_process_receiver.h ('k') | media/cast/video_receiver/codecs/vp8/vp8_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/utility/in_process_receiver.cc
diff --git a/media/cast/test/utility/in_process_receiver.cc b/media/cast/test/utility/in_process_receiver.cc
index 9f7749bfe1c089b602d27caa0e36f3a5ab0433c1..9d78e084b3e75bb253752e68b706b4959dddefc8 100644
--- a/media/cast/test/utility/in_process_receiver.cc
+++ b/media/cast/test/utility/in_process_receiver.cc
@@ -111,9 +111,11 @@ void InProcessReceiver::GotAudioFrame(scoped_ptr<AudioBus> audio_frame,
void InProcessReceiver::GotVideoFrame(
const scoped_refptr<VideoFrame>& video_frame,
- const base::TimeTicks& render_time) {
+ const base::TimeTicks& playout_time,
+ bool is_continuous) {
DCHECK(cast_environment_->CurrentlyOn(CastEnvironment::MAIN));
- OnVideoFrame(video_frame, render_time, true /* pending CL to set this */);
+ if (video_frame)
+ OnVideoFrame(video_frame, playout_time, is_continuous);
PullNextVideoFrame();
}
« no previous file with comments | « media/cast/test/utility/in_process_receiver.h ('k') | media/cast/video_receiver/codecs/vp8/vp8_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698