Index: webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
index 382fc60dcc2d21a8b85c3f8cdfc57eb5a4b58c00..50a86b6a4d3e0163af27dca09b04b43ebba77d87 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
@@ -221,7 +221,7 @@ TEST_F(TestVp8Impl, DISABLED_ON_ANDROID(AlignedStrideEncodeDecode)) { |
encoder_->Encode(input_frame_, NULL, NULL); |
EXPECT_GT(WaitForEncodedFrame(), 0u); |
// First frame should be a key frame. |
- encoded_frame_._frameType = kKeyFrame; |
+ encoded_frame_._frameType = kVideoFrameKey; |
encoded_frame_.ntp_time_ms_ = kTestNtpTimeMs; |
EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, |
decoder_->Decode(encoded_frame_, false, NULL)); |
@@ -241,12 +241,12 @@ TEST_F(TestVp8Impl, DISABLED_ON_ANDROID(DecodeWithACompleteKeyFrame)) { |
EXPECT_EQ(WEBRTC_VIDEO_CODEC_ERROR, |
decoder_->Decode(encoded_frame_, false, NULL)); |
// Setting complete back to true. Forcing a delta frame. |
- encoded_frame_._frameType = kDeltaFrame; |
+ encoded_frame_._frameType = kVideoFrameDelta; |
encoded_frame_._completeFrame = true; |
EXPECT_EQ(WEBRTC_VIDEO_CODEC_ERROR, |
decoder_->Decode(encoded_frame_, false, NULL)); |
// Now setting a key frame. |
- encoded_frame_._frameType = kKeyFrame; |
+ encoded_frame_._frameType = kVideoFrameKey; |
EXPECT_EQ(WEBRTC_VIDEO_CODEC_OK, |
decoder_->Decode(encoded_frame_, false, NULL)); |
EXPECT_GT(I420PSNR(&input_frame_, &decoded_frame_), 36); |