diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-14 10:10:07 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-14 10:10:07 +0000 |
commit | 647aeccd73b8598e1373987d34e7f16a6d5b39b7 (patch) | |
tree | 6170d53e5f7c88362d99f9ef508bcca5b16fdeb1 /media/ffmpeg/ffmpeg_regression_tests.cc | |
parent | acc6abb76969cfe7e68b24bba534a4d9954d7c9a (diff) | |
download | chromium_src-647aeccd73b8598e1373987d34e7f16a6d5b39b7.zip chromium_src-647aeccd73b8598e1373987d34e7f16a6d5b39b7.tar.gz chromium_src-647aeccd73b8598e1373987d34e7f16a6d5b39b7.tar.bz2 |
Reimplement FileDataSource using file_util::MemoryMappedFile and convert to using FilePath.
Review URL: https://chromiumcodereview.appspot.com/11360229
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/ffmpeg/ffmpeg_regression_tests.cc')
-rw-r--r-- | media/ffmpeg/ffmpeg_regression_tests.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/ffmpeg/ffmpeg_regression_tests.cc b/media/ffmpeg/ffmpeg_regression_tests.cc index 8fce919..0b4dd40 100644 --- a/media/ffmpeg/ffmpeg_regression_tests.cc +++ b/media/ffmpeg/ffmpeg_regression_tests.cc @@ -334,7 +334,7 @@ FLAKY_FFMPEG_TEST_CASE(MP4_10, "security/null1.m4a"); TEST_P(FFmpegRegressionTest, BasicPlayback) { if (GetParam().init_status == PIPELINE_OK) { - ASSERT_TRUE(Start(GetTestDataURL(GetParam().filename), + ASSERT_TRUE(Start(GetTestDataFilePath(GetParam().filename), GetParam().init_status, true)); Play(); ASSERT_EQ(WaitUntilEndedOrError(), GetParam().end_status); @@ -349,7 +349,7 @@ TEST_P(FFmpegRegressionTest, BasicPlayback) { Seek(base::TimeDelta::FromMilliseconds(0)); } } else { - ASSERT_FALSE(Start(GetTestDataURL(GetParam().filename), + ASSERT_FALSE(Start(GetTestDataFilePath(GetParam().filename), GetParam().init_status, true)); EXPECT_EQ(GetVideoHash(), GetParam().video_md5); EXPECT_EQ(GetAudioHash(), GetParam().audio_md5); |