--- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 4ef84c05c1..3548299770 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -3090,7 +3090,7 @@ static int hls_init(AVFormatContext *s) if (hls->flags & HLS_APPEND_LIST) { parse_playlist(s, vs->m3u8_name, vs); vs->discontinuity = 1; - if (hls->init_time > 0) { + if ((hls->flags & HLS_SPLIT_BY_TIME) && (hls->init_time > 0)) { av_log(s, AV_LOG_WARNING, "append_list mode does not support hls_init_time," " hls_init_time value will have no effect\n"); hls->init_time = 0; -- 2.39.2 (Apple Git-143) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".