正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -182,7 +182,7 @@ failed: | @@ -182,7 +182,7 @@ failed: | ||
| 182 | 182 | ||
| 183 | // to improve performance, donot sleep when interval is zero. | 183 | // to improve performance, donot sleep when interval is zero. |
| 184 | // @see: https://github.com/winlinvip/simple-rtmp-server/issues/237 | 184 | // @see: https://github.com/winlinvip/simple-rtmp-server/issues/237 |
| 185 | - if (cycle_interval_us > 0) { | 185 | + if (cycle_interval_us != 0) { |
| 186 | st_usleep(cycle_interval_us); | 186 | st_usleep(cycle_interval_us); |
| 187 | } | 187 | } |
| 188 | } | 188 | } |
-
请 注册 或 登录 后发表评论