mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine encoder code for #536.
This commit is contained in:
parent
e6eafd3b97
commit
142a9733b2
3 changed files with 7 additions and 1 deletions
|
@ -299,6 +299,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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue