summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorfgalligan@chromium.org <fgalligan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-06 23:25:24 +0000
committerfgalligan@chromium.org <fgalligan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-06 23:25:24 +0000
commite257f418602899173cab58bc728c8693d2ce831e (patch)
tree38e2156c82e19c9601e59f5f84fbda06e76bb757 /media
parent300800480f12dc97c8e9d90dd101fabd29203115 (diff)
downloadchromium_src-e257f418602899173cab58bc728c8693d2ce831e.zip
chromium_src-e257f418602899173cab58bc728c8693d2ce831e.tar.gz
chromium_src-e257f418602899173cab58bc728c8693d2ce831e.tar.bz2
Enable WebM encrypted playback test.
- bear-320x240-encrypted.webm was updated to match the decryption code in http://codereview.chromium.org/10824136/. BUG=138261 TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/10826131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150173 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/filters/pipeline_integration_test.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/media/filters/pipeline_integration_test.cc b/media/filters/pipeline_integration_test.cc
index 1926e44..81a1867 100644
--- a/media/filters/pipeline_integration_test.cc
+++ b/media/filters/pipeline_integration_test.cc
@@ -19,8 +19,8 @@ static const uint8 kInitData[] = { 0x69, 0x6e, 0x69, 0x74 };
// Key used to encrypt video track in test file "bear-320x240-encrypted.webm".
static const uint8 kSecretKey[] = {
- 0xfb, 0x67, 0x8a, 0x91, 0x19, 0x12, 0x7b, 0x6b,
- 0x0b, 0x63, 0x11, 0xf8, 0x6f, 0xe1, 0xc4, 0x2d
+ 0xeb, 0xdd, 0x62, 0xf1, 0x68, 0x14, 0xd2, 0x7b,
+ 0x68, 0xef, 0x12, 0x2a, 0xfc, 0xe4, 0xae, 0x3c
};
// Helper class that emulates calls made on the ChunkDemuxer by the
@@ -288,10 +288,8 @@ TEST_F(PipelineIntegrationTest, BasicPlayback_16x9AspectRatio) {
ASSERT_TRUE(WaitUntilOnEnded());
}
-// TODO(fgalligan): Enable test when encrypted test data is updated and new
-// decryption code is landed. http://crbug.com/132801
-TEST_F(PipelineIntegrationTest, DISABLED_EncryptedPlayback) {
- MockMediaSource source("bear-320x240-encrypted.webm", 220730, true, true);
+TEST_F(PipelineIntegrationTest, EncryptedPlayback) {
+ MockMediaSource source("bear-320x240-encrypted.webm", 220788, true, true);
FakeDecryptorClient encrypted_media;
StartPipelineWithEncryptedMedia(&source, &encrypted_media);