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

Unified Diff: media/cast/video_sender/video_encoder_unittest.cc

Issue 109413004: Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Injecting TaskRunner Created 7 years 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
Index: media/cast/video_sender/video_encoder_unittest.cc
diff --git a/media/cast/video_sender/video_encoder_unittest.cc b/media/cast/video_sender/video_encoder_unittest.cc
index b68b8364c43a7d31becf7d2e9775604273b6d4cf..23fb2c945bc4e7525b62a66c30ba4499ef40f300 100644
--- a/media/cast/video_sender/video_encoder_unittest.cc
+++ b/media/cast/video_sender/video_encoder_unittest.cc
@@ -36,8 +36,9 @@ class TestVideoEncoderCallback :
expected_capture_time_ = expected_capture_time;
}
- void DeliverEncodedVideoFrame(scoped_ptr<EncodedVideoFrame> encoded_frame,
- const base::TimeTicks& capture_time) {
+ void DeliverEncodedVideoFrame(
+ scoped_ptr<transport::EncodedVideoFrame> encoded_frame,
+ const base::TimeTicks& capture_time) {
EXPECT_EQ(expected_key_frame_, encoded_frame->key_frame);
EXPECT_EQ(expected_frame_id_, encoded_frame->frame_id);
EXPECT_EQ(expected_last_referenced_frame_id_,
@@ -75,7 +76,7 @@ class VideoEncoderTest : public ::testing::Test {
video_config_.min_qp = 0;
video_config_.max_frame_rate = 30;
video_config_.max_number_of_video_buffers_used = 3;
- video_config_.codec = kVp8;
+ video_config_.codec = transport::kVp8;
gfx::Size size(video_config_.width, video_config_.height);
video_frame_ = media::VideoFrame::CreateFrame(VideoFrame::I420,
size, gfx::Rect(size), size, base::TimeDelta());

Powered by Google App Engine
This is Rietveld 408576698