summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/util.cc1
-rw-r--r--src/lib/util.h1
-rw-r--r--test/test.cc1
3 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index be5ab5b95..05b69644f 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -408,7 +408,6 @@ ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl)
}
-static
void
capture_ffmpeg_logs()
{
diff --git a/src/lib/util.h b/src/lib/util.h
index 4c8a2b1b7..b92869b25 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -96,5 +96,6 @@ extern void start_of_thread (std::string name);
extern std::string error_details(boost::system::error_code ec);
extern bool contains_assetmap(boost::filesystem::path dir);
extern std::string word_wrap(std::string input, int columns);
+extern void capture_ffmpeg_logs();
#endif
diff --git a/test/test.cc b/test/test.cc
index 1739e8e89..402894cb1 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -157,6 +157,7 @@ struct TestConfig
dcpomatic_setup ();
setup_test_config ();
+ capture_ffmpeg_logs();
EncodeServerFinder::instance()->stop ();