This commit is contained in:
unknown
2014-08-20 10:46:05 +08:00
parent d3dc48d1d1
commit 462f56d413
4 changed files with 12 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ TEST_P (EncoderOutputTest, CompareOutput) {
#if defined(ANDROID_NDK)
std::string filename = std::string ("/sdcard/") + p.fileName;
EncodeFile (filename.c_str(), p.usageType , p.width, p.height, p.frameRate, p.slices, p.denoise, p.layers, this);
#elif defined(_WIN32)
std::string filename = std::string ("../../../../../") + p.fileName;
EncodeFile (filename.c_str(), p.usageType , p.width, p.height, p.frameRate, p.slices, p.denoise, p.layers, this);
#else
EncodeFile (p.fileName, p.usageType , p.width, p.height, p.frameRate, p.slices, p.denoise, p.layers, this);
#endif