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

Side by Side Diff: media/filters/pipeline_integration_test.cc

Issue 10796074: Move VideoRenderer out of Filter heirarchy. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/filters/pipeline_integration_test_base.h" 5 #include "media/filters/pipeline_integration_test_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "media/base/decoder_buffer.h" 8 #include "media/base/decoder_buffer.h"
9 #include "media/base/decryptor_client.h" 9 #include "media/base/decryptor_client.h"
10 #include "media/base/mock_filters.h"
11 #include "media/base/test_data_util.h" 10 #include "media/base/test_data_util.h"
12 #include "media/crypto/aes_decryptor.h" 11 #include "media/crypto/aes_decryptor.h"
13 #include "media/filters/chunk_demuxer_client.h" 12 #include "media/filters/chunk_demuxer_client.h"
14 13
15 namespace media { 14 namespace media {
16 15
17 static const char kSourceId[] = "SourceId"; 16 static const char kSourceId[] = "SourceId";
18 static const char kClearKeySystem[] = "org.w3.clearkey"; 17 static const char kClearKeySystem[] = "org.w3.clearkey";
19 static const uint8 kInitData[] = { 0x69, 0x6e, 0x69, 0x74 }; 18 static const uint8 kInitData[] = { 0x69, 0x6e, 0x69, 0x74 };
20 19
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 354
356 // Verify video decoder & renderer can handle aborted demuxer reads. 355 // Verify video decoder & renderer can handle aborted demuxer reads.
357 TEST_F(PipelineIntegrationTest, ChunkDemuxerAbortRead_VideoOnly) { 356 TEST_F(PipelineIntegrationTest, ChunkDemuxerAbortRead_VideoOnly) {
358 ASSERT_TRUE(TestSeekDuringRead("bear-320x240-video-only.webm", 32768, 357 ASSERT_TRUE(TestSeekDuringRead("bear-320x240-video-only.webm", 32768,
359 base::TimeDelta::FromMilliseconds(200), 358 base::TimeDelta::FromMilliseconds(200),
360 base::TimeDelta::FromMilliseconds(1668), 359 base::TimeDelta::FromMilliseconds(1668),
361 0x1C896, 65536, false, true)); 360 0x1C896, 65536, false, true));
362 } 361 }
363 362
364 } // namespace media 363 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698