From 5500e2034203773e15bb3ec0ad8abcd4661fed82 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 3 Feb 2015 01:01:32 +0000 Subject: Move log environment dump stuff out into its own file. --- src/lib/util.cc | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) (limited to 'src/lib/util.cc') diff --git a/src/lib/util.cc b/src/lib/util.cc index c298a1946..6bb16c442 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -36,28 +36,11 @@ #include "md5_digester.h" #include "audio_processor.h" #include "safe_stringstream.h" -#include #include #include #include -extern "C" { -#include -#include -#include -#include -#include -} #include -#include #include -#ifdef DCPOMATIC_IMAGE_MAGICK -#include -#else -#include -#include -#endif -#include -#include #include #include #include @@ -187,17 +170,6 @@ seconds_to_approximate_hms (int s) return ap.str (); } -/** @param v Version as used by FFmpeg. - * @return A string representation of v. - */ -static string -ffmpeg_version_to_string (int v) -{ - SafeStringStream s; - s << ((v & 0xff0000) >> 16) << N_(".") << ((v & 0xff00) >> 8) << N_(".") << (v & 0xff); - return s.str (); -} - double seconds (struct timeval t) { @@ -592,24 +564,6 @@ wrapped_av_malloc (size_t s) return p; } -/** Return a user-readable string summarising the versions of our dependencies */ -string -dependency_version_summary () -{ - SafeStringStream s; - s << N_("libopenjpeg ") << opj_version () << N_(", ") - << N_("libavcodec ") << ffmpeg_version_to_string (avcodec_version()) << N_(", ") - << N_("libavfilter ") << ffmpeg_version_to_string (avfilter_version()) << N_(", ") - << N_("libavformat ") << ffmpeg_version_to_string (avformat_version()) << N_(", ") - << N_("libavutil ") << ffmpeg_version_to_string (avutil_version()) << N_(", ") - << N_("libswscale ") << ffmpeg_version_to_string (swscale_version()) << N_(", ") - << MagickVersion << N_(", ") - << N_("libssh ") << ssh_version (0) << N_(", ") - << N_("libdcp ") << dcp::version << N_(" git ") << dcp::git_commit; - - return s.str (); -} - ContentTimePeriod subtitle_period (AVSubtitle const & sub) { -- cgit v1.2.3