Signed-off-by: Xavier Laffargue <[email protected]>
---
libavformat/hlsenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index a86fc8907f..92276084aa 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -1598,7 +1598,7 @@ static int hls_window(AVFormatContext *s, int last,
VariantStream *vs)
avio_printf(byterange_mode ? hls->m3u8_out : vs->out,
"#EXT-X-DISCONTINUITY\n");
vs->discontinuity_set = 1;
}
- if (vs->has_video && (hls->flags & HLS_INDEPENDENT_SEGMENTS)) {
+ if (hls->flags & HLS_INDEPENDENT_SEGMENTS) {
avio_printf(byterange_mode ? hls->m3u8_out : vs->out,
"#EXT-X-INDEPENDENT-SEGMENTS\n");
}
for (en = vs->segments; en; en = en->next) {
--
2.31.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".