ffmpeg | branch: master | Jonathan Baecker <jonba...@gmail.com> | Thu Sep 26 09:33:54 2024 +0200| [f3d2624bfab0f3a4cc68160b5b5869c3ea2af779] | committer: Steven Liu
avformat/hlsenc: Fix missing EXT-X-DISCONTINUITY tag in subtitle streams The EXT-X-DISCONTINUITY tag was not being added to subtitle streams, causing synchronization issues.i This patch ensures that the tag is applied consistently across video and subtitle streams. Reviewed-by: Steven Liu <l...@chinaffmpeg.org> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f3d2624bfab0f3a4cc68160b5b5869c3ea2af779 --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 1e932b7b0e..571d6b2752 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1668,7 +1668,7 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) ff_hls_write_playlist_header(hls->sub_m3u8_out, hls->version, hls->allowcache, target_duration, sequence, PLAYLIST_TYPE_NONE, 0); for (en = vs->segments; en; en = en->next) { - ret = ff_hls_write_file_entry(hls->sub_m3u8_out, 0, byterange_mode, + ret = ff_hls_write_file_entry(hls->sub_m3u8_out, en->discont, byterange_mode, en->duration, 0, en->size, en->pos, hls->baseurl, en->sub_filename, NULL, 0, 0, 0); if (ret < 0) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".