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

Unified Diff: media/filters/ffmpeg_video_decode_engine_unittest.cc

Issue 3086009: Fix av sync for webm files with altref video frames. Altref frames... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/filters/ffmpeg_video_decode_engine.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_video_decode_engine_unittest.cc
===================================================================
--- media/filters/ffmpeg_video_decode_engine_unittest.cc (revision 54794)
+++ media/filters/ffmpeg_video_decode_engine_unittest.cc (working copy)
@@ -205,8 +205,10 @@
EXPECT_CALL(*this, OnDecodeComplete(_))
.WillOnce(DecodeComplete(this));
test_engine_->EmptyThisBuffer(buffer_);
- EXPECT_EQ(kTimestamp.InMicroseconds(),
- video_frame_->GetTimestamp().ToInternalValue());
+
+ // |video_frame_| timestamp is 0 because we set the timestamp based off
+ // the buffer timestamp.
+ EXPECT_EQ(0, video_frame_->GetTimestamp().ToInternalValue());
EXPECT_EQ(kDuration.ToInternalValue(),
video_frame_->GetDuration().ToInternalValue());
}
« no previous file with comments | « media/filters/ffmpeg_video_decode_engine.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698