mirror of https://code.videolan.org/videolan/vlc
mux: webvtt: signal header blocks
This will be used by HLS to properly segment subtitles.
This commit is contained in:
parent
86755ae74d
commit
b0c1db5bb5
|
@ -188,7 +188,10 @@ static int Mux(sout_mux_t *mux)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data)
|
if (data)
|
||||||
|
{
|
||||||
|
data->i_flags |= BLOCK_FLAG_HEADER;
|
||||||
sout_AccessOutWrite(mux->p_access, data);
|
sout_AccessOutWrite(mux->p_access, data);
|
||||||
|
}
|
||||||
sys->header_done = true;
|
sys->header_done = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue