| Index: media/video/ffmpeg_video_decode_engine_unittest.cc
|
| diff --git a/media/video/ffmpeg_video_decode_engine_unittest.cc b/media/video/ffmpeg_video_decode_engine_unittest.cc
|
| index 8e171e134176be35b44e7b507c3af90fcfb0d6a9..0e9363d50874fc41efe9a1dabf6b00b276033791 100644
|
| --- a/media/video/ffmpeg_video_decode_engine_unittest.cc
|
| +++ b/media/video/ffmpeg_video_decode_engine_unittest.cc
|
| @@ -176,10 +176,6 @@ TEST_F(FFmpegVideoDecodeEngineTest, Initialize_OpenDecoderFails) {
|
| TEST_F(FFmpegVideoDecodeEngineTest, DecodeFrame_Normal) {
|
| Initialize();
|
|
|
| - // We rely on FFmpeg for timestamp and duration reporting.
|
| - const base::TimeDelta kTimestamp = base::TimeDelta::FromMicroseconds(0);
|
| - const base::TimeDelta kDuration = base::TimeDelta::FromMicroseconds(10000);
|
| -
|
| // Simulate decoding a single frame.
|
| scoped_refptr<VideoFrame> video_frame;
|
| DecodeASingleFrame(i_frame_buffer_, &video_frame);
|
| @@ -188,8 +184,7 @@ TEST_F(FFmpegVideoDecodeEngineTest, DecodeFrame_Normal) {
|
| // the buffer timestamp.
|
| ASSERT_TRUE(video_frame);
|
| EXPECT_EQ(0, video_frame->GetTimestamp().ToInternalValue());
|
| - EXPECT_EQ(kDuration.ToInternalValue(),
|
| - video_frame->GetDuration().ToInternalValue());
|
| + EXPECT_EQ(10000, video_frame->GetDuration().ToInternalValue());
|
| }
|
|
|
|
|
|
|