[FFmpeg-cvslog] avformat/hlsenc: resend full url of the init fragment mp4
Steven Liu
git at videolan.org
Wed May 6 06:58:58 EEST 2020
ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Mon May 4 12:00:41 2020 +0800| [666dbe7aace54b103af09cd111a56822062528c1] | committer: Steven Liu
avformat/hlsenc: resend full url of the init fragment mp4
fix ticket: 8651
because the init fragment mp4 file name is without base url name,
so just modify it use the full url which splice after init function.
Tested-by: matclayton
Signed-off-by: Steven Liu <liuqi05 at kuaishou.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=666dbe7aace54b103af09cd111a56822062528c1
---
libavformat/hlsenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index f91108e892..b269d015d8 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -2274,7 +2274,7 @@ static int hls_init_file_resend(AVFormatContext *s, VariantStream *vs)
int ret = 0;
set_http_options(s, &options, hls);
- ret = hlsenc_io_open(s, &vs->out, hls->fmp4_init_filename, &options);
+ ret = hlsenc_io_open(s, &vs->out, vs->base_output_dirname, &options);
av_dict_free(&options);
if (ret < 0)
return ret;
More information about the ffmpeg-cvslog
mailing list