From b0c1db5bb5d95b12eb88afd56dc2dcdfb5e7b216 Mon Sep 17 00:00:00 2001 From: Alaric Senat Date: Fri, 2 Feb 2024 09:47:34 +0100 Subject: [PATCH] mux: webvtt: signal header blocks This will be used by HLS to properly segment subtitles. --- modules/mux/webvtt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/mux/webvtt.c b/modules/mux/webvtt.c index 2ba90b8099..8639d34a62 100644 --- a/modules/mux/webvtt.c +++ b/modules/mux/webvtt.c @@ -188,7 +188,10 @@ static int Mux(sout_mux_t *mux) } if (data) + { + data->i_flags |= BLOCK_FLAG_HEADER; sout_AccessOutWrite(mux->p_access, data); + } sys->header_done = true; }