修复FFmpeg日志路径相关的bug

This commit is contained in:
xiongziliang 2020-01-03 17:26:36 +08:00
parent cdba214e79
commit e4f9e377c5
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit ba5a796d583cd2906e06ec15c0d942e484ea1dbf
Subproject commit 7cb850d79ba798e6d1f0bba7c655d38d2865ed92

View File

@ -63,7 +63,7 @@ void FFmpegSource::play(const string &src_url,const string &dst_url,int timeout_
char cmd[1024] = {0};
snprintf(cmd, sizeof(cmd),ffmpeg_cmd.data(),ffmpeg_bin.data(),src_url.data(),dst_url.data());
_process.run(cmd,File::absolutePath("",ffmpeg_log));
_process.run(cmd,ffmpeg_log.empty() ? "" : File::absolutePath("",ffmpeg_log));
InfoL << cmd;
if(_media_info._host == "127.0.0.1"){