1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

CI: Refine hls ts context writer

This commit is contained in:
winlin 2019-02-05 16:26:43 +08:00
parent 36c41715e7
commit 073d42ca7d
3 changed files with 1 additions and 44 deletions

View file

@ -458,7 +458,7 @@ srs_error_t SrsHlsMuxer::segment_open()
// open temp ts file.
std::string tmp_file = current->tmppath();
if ((err = current->tscw->open(tmp_file.c_str())) != srs_success) {
if ((err = current->writer->open(tmp_file)) != srs_success) {
return srs_error_wrap(err, "open hls muxer");
}