[FFmpeg-cvslog] avformat/hls: add AVFMT_NO_BYTE_SEEK flag
Zhao Zhili
git at videolan.org
Mon Mar 21 01:50:24 EET 2022
ffmpeg | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Wed Mar 16 01:06:01 2022 +0800| [92053aa26053b941a027a4fc56674d7d86ba1e58] | committer: Marton Balint
avformat/hls: add AVFMT_NO_BYTE_SEEK flag
After d6ac6650b91, ffplay failed to seek HLS stream with AVSEEK_FLAG_BYTE
enabled by default.
Signed-off-by: Marton Balint <cus at passwd.hu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=92053aa26053b941a027a4fc56674d7d86ba1e58
---
libavformat/hls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index cf6ef9dfb6..1a1b40abe4 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -2499,7 +2499,7 @@ const AVInputFormat ff_hls_demuxer = {
.long_name = NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming"),
.priv_class = &hls_class,
.priv_data_size = sizeof(HLSContext),
- .flags = AVFMT_NOGENSEARCH | AVFMT_TS_DISCONT,
+ .flags = AVFMT_NOGENSEARCH | AVFMT_TS_DISCONT | AVFMT_NO_BYTE_SEEK,
.flags_internal = FF_FMT_INIT_CLEANUP,
.read_probe = hls_probe,
.read_header = hls_read_header,
More information about the ffmpeg-cvslog
mailing list