Dump avcodec version and build info.
This commit is contained in:
@@ -16,6 +16,10 @@
|
|||||||
#include "archutils/Unix/CrashHandler.h"
|
#include "archutils/Unix/CrashHandler.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_FFMPEG)
|
||||||
|
#include <ffmpeg/avcodec.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool IsFatalSignal( int signal )
|
static bool IsFatalSignal( int signal )
|
||||||
{
|
{
|
||||||
switch( signal )
|
switch( signal )
|
||||||
@@ -204,6 +208,10 @@ void ArchHooks_Unix::DumpDebugInfo()
|
|||||||
|
|
||||||
LOG->Info( "Runtime library: %s", LibcVersion().c_str() );
|
LOG->Info( "Runtime library: %s", LibcVersion().c_str() );
|
||||||
LOG->Info( "Threads library: %s", ThreadsVersion().c_str() );
|
LOG->Info( "Threads library: %s", ThreadsVersion().c_str() );
|
||||||
|
#if defined(HAVE_FFMPEG)
|
||||||
|
LOG->Info( "libavcodec: %#x (%u)", avcodec_version(), avcodec_build() );
|
||||||
|
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ArchHooks_Unix::SetTime( tm newtime )
|
void ArchHooks_Unix::SetTime( tm newtime )
|
||||||
|
|||||||
Reference in New Issue
Block a user