正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
trunk/src/core/srs_core_encoder.cpp
100755 → 100644
@@ -451,7 +451,8 @@ void SrsFFMPEG::stop() | @@ -451,7 +451,8 @@ void SrsFFMPEG::stop() | ||
451 | // wait for the ffmpeg to quit. | 451 | // wait for the ffmpeg to quit. |
452 | // ffmpeg will gracefully quit if signal is: | 452 | // ffmpeg will gracefully quit if signal is: |
453 | // 1) SIGHUP 2) SIGINT 3) SIGQUIT | 453 | // 1) SIGHUP 2) SIGINT 3) SIGQUIT |
454 | - // other signals, directly exit(123). | 454 | + // other signals, directly exit(123), for example: |
455 | + // 9) SIGKILL 15) SIGTERM | ||
455 | int status = 0; | 456 | int status = 0; |
456 | if (waitpid(pid, &status, 0) < 0) { | 457 | if (waitpid(pid, &status, 0) < 0) { |
457 | srs_warn("wait the encoder quit failed, ignored. pid=%d", pid); | 458 | srs_warn("wait the encoder quit failed, ignored. pid=%d", pid); |
-
请 注册 或 登录 后发表评论