1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

donot install tools when ffmpeg is not open, 0.9.108

This commit is contained in:
winlin 2014-05-20 18:11:33 +08:00
parent 5bb6e657c3
commit 2265173c4d
5 changed files with 125 additions and 85 deletions

View file

@ -35,6 +35,7 @@ using namespace std;
#include <srs_protocol_utility.hpp>
#include <srs_core_autofree.hpp>
#include <srs_protocol_rtmp_stack.hpp>
#include <srs_kernel_utility.hpp>
// if user want to define log, define the folowing macro.
#ifndef SRS_RTMP_USER_DEFINED_LOG
@ -399,6 +400,12 @@ int srs_version_revision()
return ::atoi(VERSION_REVISION);
}
int64_t srs_get_time_ms()
{
srs_update_system_time_ms();
return srs_get_system_time_ms();
}
#ifdef __cplusplus
}
#endif