Skip to content

Commit

Permalink
Make sure main playlist is regenerated after being unlinked on stop. F…
Browse files Browse the repository at this point in the history
…ixes: #3275
  • Loading branch information
toots committed Jul 28, 2023
1 parent 43e862f commit ad3ffb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Fixed:

- Fixed HTTP response status in `output.harbor` (#3255)
- Make sure main HLS playlist is regenerated after being
unlinked (#3275)

---

Expand Down
3 changes: 2 additions & 1 deletion src/core/outputs/hls_output.ml
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,8 @@ class hls_output p =

method private cleanup_playlists =
List.iter (fun s -> self#unlink (self#playlist_name s)) streams;
self#unlink main_playlist_filename
self#unlink main_playlist_filename;
main_playlist_written <- false

method start =
(match persist_at with
Expand Down

0 comments on commit ad3ffb8

Please sign in to comment.