summaryrefslogtreecommitdiffstats
path: root/media/base/video_frame_unittest.cc
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 21:56:26 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 21:56:26 +0000
commit4790db572ffcb4f10ec64abaa77696e8ee6ace03 (patch)
treecc01860fa6b1e54db66bd72a8c4649179d1cfea1 /media/base/video_frame_unittest.cc
parentae6012416ae8adb0a2ed3cd1f5d3964bd5a0c8e9 (diff)
downloadchromium_src-4790db572ffcb4f10ec64abaa77696e8ee6ace03.zip
chromium_src-4790db572ffcb4f10ec64abaa77696e8ee6ace03.tar.gz
chromium_src-4790db572ffcb4f10ec64abaa77696e8ee6ace03.tar.bz2
Remove media::StreamSample::IsDiscontinuous() and friends.
We don't rely on samples identifying themselves as discontinuous and instead have the pipeline force a flush as part of a seek. BUG=54110 TEST=media_unittests and layout tests Review URL: http://codereview.chromium.org/4878001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/video_frame_unittest.cc')
-rw-r--r--media/base/video_frame_unittest.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/media/base/video_frame_unittest.cc b/media/base/video_frame_unittest.cc
index 633ccc0..dac228d 100644
--- a/media/base/video_frame_unittest.cc
+++ b/media/base/video_frame_unittest.cc
@@ -106,7 +106,6 @@ TEST(VideoFrame, CreateFrame) {
EXPECT_EQ(kDurationA.InMicroseconds(),
frame->GetDuration().InMicroseconds());
EXPECT_FALSE(frame->IsEndOfStream());
- EXPECT_FALSE(frame->IsDiscontinuous());
frame->SetTimestamp(kTimestampB);
frame->SetDuration(kDurationB);
EXPECT_EQ(kTimestampB.InMicroseconds(),
@@ -114,10 +113,6 @@ TEST(VideoFrame, CreateFrame) {
EXPECT_EQ(kDurationB.InMicroseconds(),
frame->GetDuration().InMicroseconds());
EXPECT_FALSE(frame->IsEndOfStream());
- frame->SetDiscontinuous(true);
- EXPECT_TRUE(frame->IsDiscontinuous());
- frame->SetDiscontinuous(false);
- EXPECT_FALSE(frame->IsDiscontinuous());
// Test VideoFrame implementation.
EXPECT_EQ(media::VideoFrame::TYPE_SYSTEM_MEMORY, frame->type());