summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-10-18 10:14:15 +0100
committerCarl Hetherington <cth@carlh.net>2017-10-18 10:14:15 +0100
commitcc0691901d30b06e60227d329941c378f873e84e (patch)
tree164daa83bf7e1cb2a02f593ebed438ce71f6ef41
parentba7516b01ddef143d58b32ac14350dcd15079641 (diff)
Try using ffcmp instead of md5 checking for FFmpeg file tests.
-rw-r--r--test/test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc
index 081a13a8c..ecb4a8af7 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -444,8 +444,8 @@ check_ffmpeg_stream (boost::filesystem::path ref, boost::filesystem::path check,
void
check_ffmpeg (boost::filesystem::path ref, boost::filesystem::path check)
{
- check_ffmpeg_stream (ref, check, "v");
- check_ffmpeg_stream (ref, check, "a");
+ int const r = system (string("ffcmp " + ref.string() + " " + check.string()).c_str());
+ BOOST_REQUIRE_EQUAL (WEXITSTATUS(r), 0);
}
void