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

Unified Diff: media/cast/framer/frame_buffer_unittest.cc

Issue 126843003: Revert of Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/framer/frame_buffer.cc ('k') | media/cast/framer/framer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/framer/frame_buffer_unittest.cc
diff --git a/media/cast/framer/frame_buffer_unittest.cc b/media/cast/framer/frame_buffer_unittest.cc
index 96d3570f0836fa249e039e3a73a5bfb475fa1b86..fb14da39f7f8654b28aede88eeb4e8dcc15c0ac1 100644
--- a/media/cast/framer/frame_buffer_unittest.cc
+++ b/media/cast/framer/frame_buffer_unittest.cc
@@ -15,7 +15,7 @@
virtual ~FrameBufferTest() {}
virtual void SetUp() {
- payload_.assign(kMaxIpPacketSize, 0);
+ payload_.assign(kIpPacketSize, 0);
// Build a default one packet frame - populate webrtc header.
rtp_header_.is_key_frame = false;
@@ -34,7 +34,7 @@
TEST_F(FrameBufferTest, EmptyBuffer) {
EXPECT_FALSE(buffer_.Complete());
EXPECT_FALSE(buffer_.is_key_frame());
- transport::EncodedVideoFrame frame;
+ EncodedVideoFrame frame;
uint32 rtp_timestamp;
EXPECT_FALSE(buffer_.GetEncodedVideoFrame(&frame, &rtp_timestamp));
}
@@ -43,7 +43,7 @@
buffer_.InsertPacket(payload_.data(), payload_.size(), rtp_header_);
EXPECT_TRUE(buffer_.Complete());
EXPECT_FALSE(buffer_.is_key_frame());
- transport::EncodedVideoFrame frame;
+ EncodedVideoFrame frame;
uint32 rtp_timestamp;
EXPECT_TRUE(buffer_.GetEncodedVideoFrame(&frame, &rtp_timestamp));
EXPECT_EQ(payload_.size(), frame.data.size());
@@ -60,7 +60,7 @@
++rtp_header_.packet_id;
EXPECT_TRUE(buffer_.Complete());
EXPECT_TRUE(buffer_.is_key_frame());
- transport::EncodedVideoFrame frame;
+ EncodedVideoFrame frame;
uint32 rtp_timestamp;
EXPECT_TRUE(buffer_.GetEncodedVideoFrame(&frame, &rtp_timestamp));
EXPECT_EQ(3 * payload_.size(), frame.data.size());
« no previous file with comments | « media/cast/framer/frame_buffer.cc ('k') | media/cast/framer/framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698