mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
merge srs2 for #536
This commit is contained in:
commit
750f4413c8
4 changed files with 6 additions and 2 deletions
|
@ -298,6 +298,10 @@ int SrsEncoder::initialize_ffmpeg(SrsFFMPEG* ffmpeg, SrsRequest* req, SrsConfDir
|
|||
log_file += req->app;
|
||||
log_file += "-";
|
||||
log_file += req->stream;
|
||||
if (!engine->args.empty()) {
|
||||
log_file += "-";
|
||||
log_file += engine->arg0();
|
||||
}
|
||||
log_file += ".log";
|
||||
}
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@ class SrsFFMPEG
|
|||
private:
|
||||
SrsProcess* process;
|
||||
std::vector<std::string> params;
|
||||
private:
|
||||
std::string log_file;
|
||||
private:
|
||||
std::string ffmpeg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue