diff --git a/hls/ngx_rtmp_hls_module.c b/hls/ngx_rtmp_hls_module.c index 5fa904a..5bea1bf 100644 --- a/hls/ngx_rtmp_hls_module.c +++ b/hls/ngx_rtmp_hls_module.c @@ -501,7 +501,7 @@ ngx_rtmp_hls_write_playlist(ngx_rtmp_session_t *s) "%s" "#EXTINF:%.3f,\n" "%V%V%s%uL.ts\n", - /*f->discont ? "#EXT-X-DISCONTINUITY\n" :*/ "", + f->discont ? "#EXT-X-DISCONTINUITY\n" : "", f->duration, &hacf->base_url, &name_part, sep, f->id); ngx_log_debug5(NGX_LOG_DEBUG_RTMP, s->connection->log, 0,