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

refine config comments, return the engines of transcode.

This commit is contained in:
winlin 2014-07-18 11:15:59 +08:00
parent 2293700728
commit b4e2d70390
4 changed files with 43 additions and 20 deletions

View file

@ -123,8 +123,7 @@ int SrsIngester::parse_engines(SrsConfDirective* vhost, SrsConfDirective* ingest
}
// get all engines.
std::vector<SrsConfDirective*> engines;
_srs_config->get_transcode_engines(ingest, engines);
std::vector<SrsConfDirective*> engines = _srs_config->get_transcode_engines(ingest);
if (engines.empty()) {
SrsFFMPEG* ffmpeg = new SrsFFMPEG(ffmpeg_bin);
if ((ret = initialize_ffmpeg(ffmpeg, vhost, ingest, NULL)) != ERROR_SUCCESS) {