正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -617,6 +617,9 @@ int SrsHLS::reopen() | @@ -617,6 +617,9 @@ int SrsHLS::reopen() | ||
| 617 | if (current) { | 617 | if (current) { |
| 618 | current->duration = (stream_dts - current->segment_start_dts) / 90000.0; | 618 | current->duration = (stream_dts - current->segment_start_dts) / 90000.0; |
| 619 | segments.push_back(current); | 619 | segments.push_back(current); |
| 620 | + | ||
| 621 | + // close the muxer of finished segment. | ||
| 622 | + srs_freep(current->muxer); | ||
| 620 | current = NULL; | 623 | current = NULL; |
| 621 | 624 | ||
| 622 | // the segments to remove | 625 | // the segments to remove |
-
请 注册 或 登录 后发表评论