Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: Add option to correct subtitles duration in webvtt subtitles

2024-12-09 Thread Vladimir Kharchevin
Hi Jan, Thanks for your respond. You’re right, it is really makes sense to process this behavior at the WebVTT muxer. Unfortunately WebVTT specs don’t foresee the feature like ’show until next’. So it would look like in the patch below. Thanks, Vladimir Signed-off-by: Vladimir Kharchevin

[FFmpeg-devel] [PATCH] libavformat/hlsenc: Add option to correct subtitles duration in webvtt subtitles

2024-12-09 Thread Vladimir Kharchevin
behavior and set subtitle duration to the next subtitle packet time. Signed-off-by: Vladimir Kharchevin --- libavformat/hlsenc.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 6148685f40..2e67790482